#6D7D12#6D7D12

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

Color values

HEX#6D7D12
RGBrgb(109, 125, 18)
HSLhsl(69, 75%, 28%)
HSVhsv(69, 86%, 49%)
CMYKcmyk(12.8%, 0%, 85.6%, 51%)
CIE-LABlab(49.45, -19.64, 50.40)
CIE-LCHlch(49.45, 54.09, 111.29°)
OKLaboklab(55.75% -0.0593 0.1092)
OKLCHoklch(55.75% 0.124 118.5)
XYZxyz(13.7498, 17.9622, 3.3149)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7D12 #22127D
analogous
#7D5712 #6D7D12 #377D12
triadic
#6D7D12 #126D7D #7D126D
tetradic
#6D7D12 #127D57 #22127D #7D1237
square
#6D7D12 #127D57 #22127D #7D1237
split-complementary
#6D7D12 #12377D #57127D
monochromatic
#171B04 #3E480A #6D7D12 #9CB21A #C5E029

Accessibility & contrast

On white

4.57
#6D7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6D7D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7D12
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7D12#FFFFFF#000000##000000
##6D7D121.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7d12;
/* rgb */ color: rgb(109, 125, 18);
/* oklch */ color: oklch(55.8% 0.124 118.5);
Tailwind
colors: {
  custom: {
    50: '#9aa25c',
    500: '#6d7d12',
    950: '#000000',
  },
}
SCSS
$custom: #6d7d12;
$custom-light: #9aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7d12",
  "rgb": {
    "r": 109,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 68.972,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.12424,
    "h": 118.5
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#6D7D12
secondary
#4A38B3
accent
#36F152
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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