#647212#647212

#647212 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.3% C 0.115 H 118.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#647212
RGBrgb(100, 114, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 45%)
CMYKcmyk(12.3%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.34, -17.95, 46.54)
CIE-LCHlch(45.34, 49.88, 111.09°)
OKLaboklab(52.27% -0.0542 0.1013)
OKLCHoklch(52.27% 0.115 118.2)
XYZxyz(11.3823, 14.7877, 2.8268)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647212 #201272
analogous
#725012 #647212 #347212
triadic
#647212 #126472 #721264
tetradic
#647212 #127250 #201272 #721234
square
#647212 #127250 #201272 #721234
split-complementary
#647212 #123472 #501272
monochromatic
#171A04 #363D0A #647212 #92A71A #C1DC23

Accessibility & contrast

On white

5.31
#647212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#647212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647212
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647212#FFFFFF#000000##FFFFFF
##6472121.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#6B6B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #647212;
/* rgb */ color: rgb(100, 114, 18);
/* oklch */ color: oklch(52.3% 0.115 118.2);
Tailwind
colors: {
  custom: {
    50: '#939a5a',
    500: '#647212',
    950: '#000000',
  },
}
SCSS
$custom: #647212;
$custom-light: #939a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#647212",
  "rgb": {
    "r": 100,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 68.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.11486,
    "h": 118.2
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#647212
secondary
#4837A9
accent
#38EF53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647212

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

Preview Lab → · Contrast checker → · Palette generator →

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