#6E7E12#6E7E12

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

Color values

HEX#6E7E12
RGBrgb(110, 126, 18)
HSLhsl(69, 75%, 28%)
HSVhsv(69, 86%, 49%)
CMYKcmyk(12.7%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.83, -19.71, 50.76)
CIE-LCHlch(49.83, 54.45, 111.22°)
OKLaboklab(56.08% -0.0596 0.1099)
OKLCHoklch(56.08% 0.125 118.5)
XYZxyz(14.0008, 18.2805, 3.3631)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7E12 #22127E
analogous
#7E5812 #6E7E12 #387E12
triadic
#6E7E12 #126E7E #7E126E
tetradic
#6E7E12 #127E58 #22127E #7E1238
square
#6E7E12 #127E58 #22127E #7E1238
split-complementary
#6E7E12 #12387E #58127E
monochromatic
#171B04 #3F480A #6E7E12 #9DB41A #C5E12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7E12#FFFFFF#000000##000000
##6E7E121.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)
#85771E
Tritanopia (blue-blind)
#75776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6e7e12;
/* rgb */ color: rgb(110, 126, 18);
/* oklch */ color: oklch(56.1% 0.125 118.5);
Tailwind
colors: {
  custom: {
    50: '#9ba35c',
    500: '#6e7e12',
    950: '#000000',
  },
}
SCSS
$custom: #6e7e12;
$custom-light: #9ba35c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7e12",
  "rgb": {
    "r": 110,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 68.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.12501,
    "h": 118.5
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#6E7E12
secondary
#4A38B4
accent
#36F252
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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