#645E12#645E12

#645E12 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.092 H 104.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#645E12
RGBrgb(100, 94, 18)
HSLhsl(56, 69%, 23%)
HSVhsv(56, 82%, 39%)
CMYKcmyk(0%, 6%, 82%, 60.8%)
CIE-LABlab(39.17, -6.85, 41.02)
CIE-LCHlch(39.17, 41.59, 99.48°)
OKLaboklab(47.33% -0.0234 0.0895)
OKLCHoklch(47.33% 0.092 104.7)
XYZxyz(9.3678, 10.7588, 2.1554)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E12 #121864
analogous
#643512 #645E12 #416412
triadic
#645E12 #12645E #5E1264
tetradic
#645E12 #126435 #121864 #641241
square
#645E12 #126435 #121864 #641241
split-complementary
#645E12 #124164 #351264
monochromatic
#1A1805 #302D09 #645E12 #988F1B #CCC025

Accessibility & contrast

On white

6.66
#645E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#645E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E12
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E12#FFFFFF#000000##FFFFFF
##645E121.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A02
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#6C5750
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e12;
/* rgb */ color: rgb(100, 94, 18);
/* oklch */ color: oklch(47.3% 0.092 104.7);
Tailwind
colors: {
  custom: {
    50: '#938b57',
    500: '#645e12',
    950: '#000000',
  },
}
SCSS
$custom: #645e12;
$custom-light: #938b57;
$custom-dark: #000000;
JSON
{
  "hex": "#645e12",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 55.61,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.09247,
    "h": 104.7
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#645E12
secondary
#363D9C
accent
#48EC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645E12

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

Preview Lab → · Contrast checker → · Palette generator →

#645E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva