#645D12#645D12

#645D12 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.1% C 0.091 H 103.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#645D12
RGBrgb(100, 93, 18)
HSLhsl(55, 69%, 23%)
HSVhsv(55, 82%, 39%)
CMYKcmyk(0%, 7%, 82%, 60.8%)
CIE-LABlab(38.87, -6.27, 40.74)
CIE-LCHlch(38.87, 41.22, 98.74°)
OKLaboklab(47.09% -0.0218 0.0889)
OKLCHoklch(47.09% 0.092 103.8)
XYZxyz(9.2795, 10.5821, 2.1259)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D12 #121964
analogous
#643412 #645D12 #426412
triadic
#645D12 #12645D #5D1264
tetradic
#645D12 #126434 #121964 #641242
square
#645D12 #126434 #121964 #641242
split-complementary
#645D12 #124264 #341264
monochromatic
#1A1805 #302D09 #645D12 #988D1B #CCBD25

Accessibility & contrast

On white

6.74
#645D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D12
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D12#FFFFFF#000000##FFFFFF
##645D121.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#685D18
Tritanopia (blue-blind)
#6C564F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d12;
/* rgb */ color: rgb(100, 93, 18);
/* oklch */ color: oklch(47.1% 0.091 103.8);
Tailwind
colors: {
  custom: {
    50: '#938a57',
    500: '#645d12',
    950: '#000000',
  },
}
SCSS
$custom: #645d12;
$custom-light: #938a57;
$custom-dark: #000000;
JSON
{
  "hex": "#645d12",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 54.878,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.0915,
    "h": 103.8
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#645D12
secondary
#363F9C
accent
#4BEC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645D12

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

Preview Lab → · Contrast checker → · Palette generator →

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