#647312#647312

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

Color values

HEX#647312
RGBrgb(100, 115, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 45%)
CMYKcmyk(13%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.65, -18.48, 46.82)
CIE-LCHlch(45.65, 50.33, 111.54°)
OKLaboklab(52.52% -0.0557 0.1018)
OKLCHoklch(52.52% 0.116 118.7)
XYZxyz(11.4957, 15.0146, 2.8647)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647312 #211273
analogous
#735112 #647312 #337312
triadic
#647312 #126473 #731264
tetradic
#647312 #127351 #211273 #731233
square
#647312 #127351 #211273 #731233
split-complementary
#647312 #123373 #511273
monochromatic
#171A04 #363E0A #647312 #92A81A #C0DD23

Accessibility & contrast

On white

5.25
#647312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#647312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647312
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647312#FFFFFF#000000##FFFFFF
##6473121.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #647312;
/* rgb */ color: rgb(100, 115, 18);
/* oklch */ color: oklch(52.5% 0.116 118.7);
Tailwind
colors: {
  custom: {
    50: '#939b5b',
    500: '#647312',
    950: '#000000',
  },
}
SCSS
$custom: #647312;
$custom-light: #939b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#647312",
  "rgb": {
    "r": 100,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 69.278,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.11607,
    "h": 118.7
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#647312
secondary
#4937AA
accent
#38F055
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647312

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

Preview Lab → · Contrast checker → · Palette generator →

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