#6C7D12#6C7D12

#6C7D12 is a mid, vivid yellow. Relative luminance 0.179; OKLCH L 55.7% C 0.125 H 119.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6C7D12
RGBrgb(108, 125, 18)
HSLhsl(70, 75%, 28%)
HSVhsv(70, 86%, 49%)
CMYKcmyk(13.6%, 0%, 85.6%, 51%)
CIE-LABlab(49.37, -20.09, 50.30)
CIE-LCHlch(49.37, 54.16, 111.77°)
OKLaboklab(55.67% -0.0605 0.109)
OKLCHoklch(55.67% 0.125 119)
XYZxyz(13.6275, 17.8991, 3.3091)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7D12 #23127D
analogous
#7D5812 #6C7D12 #367D12
triadic
#6C7D12 #126C7D #7D126C
tetradic
#6C7D12 #127D58 #23127D #7D1236
square
#6C7D12 #127D58 #23127D #7D1236
split-complementary
#6C7D12 #12367D #58127D
monochromatic
#171B04 #3E480A #6C7D12 #9AB21A #C3E029

Accessibility & contrast

On white

4.59
#6C7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6C7D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7D12
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7D12#FFFFFF#000000##FFFFFF
##6C7D121.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7d12;
/* rgb */ color: rgb(108, 125, 18);
/* oklch */ color: oklch(55.7% 0.125 119.0);
Tailwind
colors: {
  custom: {
    50: '#99a25c',
    500: '#6c7d12',
    950: '#000000',
  },
}
SCSS
$custom: #6c7d12;
$custom-light: #99a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7d12",
  "rgb": {
    "r": 108,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 69.533,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.12466,
    "h": 119
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#6C7D12
secondary
#4B38B3
accent
#36F154
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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