#645912#645912

#645912 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.1% C 0.088 H 100.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#645912
RGBrgb(100, 89, 18)
HSLhsl(52, 69%, 23%)
HSVhsv(52, 82%, 39%)
CMYKcmyk(0%, 11%, 82%, 60.8%)
CIE-LABlab(37.66, -3.92, 39.64)
CIE-LCHlch(37.66, 39.83, 95.65°)
OKLaboklab(46.13% -0.0152 0.0865)
OKLCHoklch(46.13% 0.088 100)
XYZxyz(8.9375, 9.8982, 2.0119)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645912 #121D64
analogous
#643012 #645912 #466412
triadic
#645912 #126459 #591264
tetradic
#645912 #126430 #121D64 #641246
square
#645912 #126430 #121D64 #641246
split-complementary
#645912 #124664 #301264
monochromatic
#1A1705 #302B09 #645912 #98871B #CCB525

Accessibility & contrast

On white

7.05
#645912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#645912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645912
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645912#FFFFFF#000000##FFFFFF
##6459121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#6C524C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645912;
/* rgb */ color: rgb(100, 89, 18);
/* oklch */ color: oklch(46.1% 0.088 100.0);
Tailwind
colors: {
  custom: {
    50: '#938757',
    500: '#645912',
    950: '#000000',
  },
}
SCSS
$custom: #645912;
$custom-light: #938757;
$custom-dark: #000000;
JSON
{
  "hex": "#645912",
  "rgb": {
    "r": 100,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 51.951,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.08783,
    "h": 100
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#645912
secondary
#36449C
accent
#53EC3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645912

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

Preview Lab → · Contrast checker → · Palette generator →

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