#6E7D12#6E7D12

#6E7D12 is a mid, vivid yellow. Relative luminance 0.180; OKLCH L 55.8% C 0.124 H 118.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6E7D12
RGBrgb(110, 125, 18)
HSLhsl(68, 75%, 28%)
HSVhsv(68, 86%, 49%)
CMYKcmyk(12%, 0%, 85.6%, 51%)
CIE-LABlab(49.53, -19.19, 50.49)
CIE-LCHlch(49.53, 54.01, 110.81°)
OKLaboklab(55.84% -0.0582 0.1093)
OKLCHoklch(55.84% 0.124 118)
XYZxyz(13.8736, 18.0260, 3.3207)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7D12 #21127D
analogous
#7D5612 #6E7D12 #387D12
triadic
#6E7D12 #126E7D #7D126E
tetradic
#6E7D12 #127D56 #21127D #7D1238
square
#6E7D12 #127D56 #21127D #7D1238
split-complementary
#6E7D12 #12387D #56127D
monochromatic
#181B04 #3F480A #6E7D12 #9DB21A #C7E029

Accessibility & contrast

On white

4.56
#6E7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#6E7D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7D12
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7D12#FFFFFF#000000##000000
##6E7D121.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#75766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6e7d12;
/* rgb */ color: rgb(110, 125, 18);
/* oklch */ color: oklch(55.8% 0.124 118.0);
Tailwind
colors: {
  custom: {
    50: '#9ba25c',
    500: '#6e7d12',
    950: '#000000',
  },
}
SCSS
$custom: #6e7d12;
$custom-light: #9ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7d12",
  "rgb": {
    "r": 110,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 68.411,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.12383,
    "h": 118
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#6E7D12
secondary
#4938B3
accent
#36F151
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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