#677212#677212

#677212 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.5% C 0.114 H 116.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#677212
RGBrgb(103, 114, 18)
HSLhsl(67, 73%, 26%)
HSVhsv(67, 84%, 45%)
CMYKcmyk(9.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.58, -16.57, 46.84)
CIE-LCHlch(45.58, 49.69, 109.48°)
OKLaboklab(52.52% -0.0506 0.1018)
OKLCHoklch(52.52% 0.114 116.4)
XYZxyz(11.7203, 14.9620, 2.8427)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677212 #1D1272
analogous
#724D12 #677212 #377212
triadic
#677212 #126772 #721267
tetradic
#677212 #12724D #1D1272 #721237
square
#677212 #12724D #1D1272 #721237
split-complementary
#677212 #123772 #4D1272
monochromatic
#181A04 #373D0A #677212 #97A71A #C7DC23

Accessibility & contrast

On white

5.26
#677212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#677212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677212
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677212#FFFFFF#000000##FFFFFF
##6772121.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6B00
Deuteranopia (green-blind)
#7A6C1C
Tritanopia (blue-blind)
#6E6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #677212;
/* rgb */ color: rgb(103, 114, 18);
/* oklch */ color: oklch(52.5% 0.114 116.4);
Tailwind
colors: {
  custom: {
    50: '#969a5a',
    500: '#677212',
    950: '#000000',
  },
}
SCSS
$custom: #677212;
$custom-light: #969a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#677212",
  "rgb": {
    "r": 103,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 66.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.11367,
    "h": 116.4
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#677212
secondary
#4437A9
accent
#38EF4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #677212

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

Preview Lab → · Contrast checker → · Palette generator →

#677212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva