#6E7E18#6E7E18

#6E7E18 is a mid, vivid yellow. Relative luminance 0.183; OKLCH L 56.1% C 0.122 H 118.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6E7E18
RGBrgb(110, 126, 24)
HSLhsl(69, 68%, 29%)
HSVhsv(69, 81%, 49%)
CMYKcmyk(12.7%, 0%, 81%, 50.6%)
CIE-LABlab(49.86, -19.47, 49.03)
CIE-LCHlch(49.86, 52.75, 111.66°)
OKLaboklab(56.11% -0.0585 0.1073)
OKLCHoklch(56.11% 0.122 118.6)
XYZxyz(14.0565, 18.3028, 3.6563)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7E18 #28187E
analogous
#7E5B18 #6E7E18 #3B7E18
triadic
#6E7E18 #186E7E #7E186E
tetradic
#6E7E18 #187E5B #28187E #7E183B
square
#6E7E18 #187E5B #28187E #7E183B
split-complementary
#6E7E18 #183B7E #5B187E
monochromatic
#161A05 #414B0E #6E7E18 #9BB122 #C0D937

Accessibility & contrast

On white

4.51
#6E7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6E7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7E18
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7E18#FFFFFF#000000##000000
##6E7E181.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#75776B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7e18;
/* rgb */ color: rgb(110, 126, 24);
/* oklch */ color: oklch(56.1% 0.122 118.6);
Tailwind
colors: {
  custom: {
    50: '#9ba35f',
    500: '#6e7e18',
    950: '#000000',
  },
}
SCSS
$custom: #6e7e18;
$custom-light: #9ba35f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7e18",
  "rgb": {
    "r": 110,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 69.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.12219,
    "h": 118.6
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#6E7E18
secondary
#513FB2
accent
#3DEB58
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7E18

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6E7E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva