#64701B#64701B

#64701B is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.8% C 0.107 H 117.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#64701B
RGBrgb(100, 112, 27)
HSLhsl(68, 61%, 27%)
HSVhsv(68, 76%, 44%)
CMYKcmyk(10.7%, 0%, 75.9%, 56.1%)
CIE-LABlab(44.77, -16.46, 42.93)
CIE-LCHlch(44.77, 45.98, 110.97°)
OKLaboklab(51.82% -0.0493 0.0953)
OKLCHoklch(51.82% 0.107 117.4)
XYZxyz(11.2478, 14.3769, 3.2192)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64701B #271B70
analogous
#70521B #64701B #39701B
triadic
#64701B #1B6470 #701B64
tetradic
#64701B #1B7052 #271B70 #701B39
square
#64701B #1B7052 #271B70 #701B39
split-complementary
#64701B #1B3970 #521B70
monochromatic
#161906 #383F0F #64701B #90A127 #B9CF37

Accessibility & contrast

On white

5.42
#64701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#64701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64701B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64701B#FFFFFF#000000##FFFFFF
##64701B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0B
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#6B6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #64701b;
/* rgb */ color: rgb(100, 112, 27);
/* oklch */ color: oklch(51.8% 0.107 117.4);
Tailwind
colors: {
  custom: {
    50: '#93995e',
    500: '#64701b',
    950: '#000000',
  },
}
SCSS
$custom: #64701b;
$custom-light: #93995e;
$custom-dark: #000000;
JSON
{
  "hex": "#64701b",
  "rgb": {
    "r": 100,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 68.471,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.10729,
    "h": 117.4
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#64701B
secondary
#5042A5
accent
#44E45A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #64701B

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

Preview Lab → · Contrast checker → · Palette generator →

#64701B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva