#6E7C11#6E7C11

#6E7C11 is a mid, vivid yellow. Relative luminance 0.178; OKLCH L 55.6% C 0.123 H 117.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6E7C11
RGBrgb(110, 124, 17)
HSLhsl(68, 76%, 28%)
HSVhsv(68, 86%, 49%)
CMYKcmyk(11.3%, 0%, 86.3%, 51.4%)
CIE-LABlab(49.22, -18.70, 50.49)
CIE-LCHlch(49.22, 53.84, 110.32°)
OKLaboklab(55.58% -0.0569 0.1091)
OKLCHoklch(55.58% 0.123 117.5)
XYZxyz(13.7396, 17.7709, 3.2365)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7C11 #1F117C
analogous
#7C5411 #6E7C11 #397C11
triadic
#6E7C11 #116E7C #7C116E
tetradic
#6E7C11 #117C54 #1F117C #7C1139
square
#6E7C11 #117C54 #1F117C #7C1139
split-complementary
#6E7C11 #11397C #54117C
monochromatic
#181B04 #3E460A #6E7C11 #9EB218 #C9E126

Accessibility & contrast

On white

4.61
#6E7C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6E7C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7C11
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7C11#FFFFFF#000000##FFFFFF
##6E7C111.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#84751D
Tritanopia (blue-blind)
#757469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6e7c11;
/* rgb */ color: rgb(110, 124, 17);
/* oklch */ color: oklch(55.6% 0.123 117.5);
Tailwind
colors: {
  custom: {
    50: '#9ba15c',
    500: '#6e7c11',
    950: '#000000',
  },
}
SCSS
$custom: #6e7c11;
$custom-light: #9ba15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7c11",
  "rgb": {
    "r": 110,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 67.85,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.12307,
    "h": 117.5
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#6E7C11
secondary
#4737B2
accent
#35F24E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F04
muted
#7E7E79

Preview Lab

Preview with #6E7C11

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

Preview Lab → · Contrast checker → · Palette generator →

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