#6E7F11#6E7F11

#6E7F11 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.3% C 0.127 H 118.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7F11
RGBrgb(110, 127, 17)
HSLhsl(69, 76%, 28%)
HSVhsv(69, 87%, 50%)
CMYKcmyk(13.4%, 0%, 86.6%, 50.2%)
CIE-LABlab(50.14, -20.26, 51.27)
CIE-LCHlch(50.14, 55.13, 111.56°)
OKLaboklab(56.33% -0.0612 0.1108)
OKLCHoklch(56.33% 0.127 118.9)
XYZxyz(14.1213, 18.5343, 3.3638)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F11 #22117F
analogous
#7F5911 #6E7F11 #377F11
triadic
#6E7F11 #116E7F #7F116E
tetradic
#6E7F11 #117F59 #22117F #7F1137
square
#6E7F11 #117F59 #22117F #7F1137
split-complementary
#6E7F11 #11377F #59117F
monochromatic
#171B04 #3F490A #6E7F11 #9DB518 #C5E228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7F11#FFFFFF#000000##000000
##6E7F111.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)
#86781E
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7f11;
/* rgb */ color: rgb(110, 127, 17);
/* oklch */ color: oklch(56.3% 0.127 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ba45c',
    500: '#6e7f11',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f11;
$custom-light: #9ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f11",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 69.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.12659,
    "h": 118.9
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#6E7F11
secondary
#4A37B5
accent
#35F352
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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