#6E7F12#6E7F12

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

Color values

HEX#6E7F12
RGBrgb(110, 127, 18)
HSLhsl(69, 75%, 28%)
HSVhsv(69, 86%, 50%)
CMYKcmyk(13.4%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.14, -20.22, 51.02)
CIE-LCHlch(50.14, 54.88, 111.62°)
OKLaboklab(56.33% -0.061 0.1105)
OKLCHoklch(56.33% 0.126 118.9)
XYZxyz(14.1293, 18.5375, 3.4059)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F12 #23127F
analogous
#7F5912 #6E7F12 #377F12
triadic
#6E7F12 #126E7F #7F126E
tetradic
#6E7F12 #127F59 #23127F #7F1237
square
#6E7F12 #127F59 #23127F #7F1237
split-complementary
#6E7F12 #12377F #59127F
monochromatic
#171B04 #40490A #6E7F12 #9CB51A #C4E12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7F12#FFFFFF#000000##000000
##6E7F121.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: #6e7f12;
/* rgb */ color: rgb(110, 127, 18);
/* oklch */ color: oklch(56.3% 0.126 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ba45d',
    500: '#6e7f12',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f12;
$custom-light: #9ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f12",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 69.358,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.12618,
    "h": 118.9
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#6E7F12
secondary
#4C38B5
accent
#36F253
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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