#645915#645915

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

Color values

HEX#645915
RGBrgb(100, 89, 21)
HSLhsl(52, 65%, 24%)
HSVhsv(52, 79%, 39%)
CMYKcmyk(0%, 11%, 79%, 60.8%)
CIE-LABlab(37.68, -3.78, 38.49)
CIE-LCHlch(37.68, 38.68, 95.61°)
OKLaboklab(46.15% -0.0145 0.0847)
OKLCHoklch(46.15% 0.086 99.7)
XYZxyz(8.9637, 9.9087, 2.1497)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645915 #152064
analogous
#643115 #645915 #476415
triadic
#645915 #156459 #591564
tetradic
#645915 #156431 #152064 #641547
square
#645915 #156431 #152064 #641547
split-complementary
#645915 #154764 #311564
monochromatic
#191705 #312C0A #645915 #978620 #C9B32A

Accessibility & contrast

On white

7.04
#645915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #645915
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645915#FFFFFF#000000##FFFFFF
##6459151.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645915;
/* rgb */ color: rgb(100, 89, 21);
/* oklch */ color: oklch(46.1% 0.086 99.7);
Tailwind
colors: {
  custom: {
    50: '#938758',
    500: '#645915',
    950: '#000000',
  },
}
SCSS
$custom: #645915;
$custom-light: #938758;
$custom-dark: #000000;
JSON
{
  "hex": "#645915",
  "rgb": {
    "r": 100,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 51.646,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.08594,
    "h": 99.7
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#645915
secondary
#3A479B
accent
#57E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645915

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

Preview Lab → · Contrast checker → · Palette generator →

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