#6E7F18#6E7F18

#6E7F18 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.123 H 119.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7F18
RGBrgb(110, 127, 24)
HSLhsl(70, 68%, 30%)
HSVhsv(70, 81%, 50%)
CMYKcmyk(13.4%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.17, -19.99, 49.31)
CIE-LCHlch(50.17, 53.21, 112.07°)
OKLaboklab(56.36% -0.0599 0.1079)
OKLCHoklch(56.36% 0.123 119.1)
XYZxyz(14.1850, 18.5598, 3.6991)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F18 #29187F
analogous
#7F5D18 #6E7F18 #3B7F18
triadic
#6E7F18 #186E7F #7F186E
tetradic
#6E7F18 #187F5D #29187F #7F183B
square
#6E7F18 #187F5D #29187F #7F183B
split-complementary
#6E7F18 #183B7F #5D187F
monochromatic
#161A05 #414C0E #6E7F18 #9BB222 #BFD938

Accessibility & contrast

On white

4.46
#6E7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6E7F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7F18
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7F18#FFFFFF#000000##000000
##6E7F181.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7f18;
/* rgb */ color: rgb(110, 127, 24);
/* oklch */ color: oklch(56.4% 0.123 119.1);
Tailwind
colors: {
  custom: {
    50: '#9ba45f',
    500: '#6e7f18',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f18;
$custom-light: #9ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f18",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 69.903,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.1234,
    "h": 119.1
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#6E7F18
secondary
#533FB3
accent
#3DEB5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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