#64701F#64701F

#64701F is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.104 H 117.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#64701F
RGBrgb(100, 112, 31)
HSLhsl(69, 57%, 28%)
HSVhsv(69, 72%, 44%)
CMYKcmyk(10.7%, 0%, 72.3%, 56.1%)
CIE-LABlab(44.80, -16.22, 41.35)
CIE-LCHlch(44.80, 44.42, 111.41°)
OKLaboklab(51.86% -0.0483 0.0927)
OKLCHoklch(51.86% 0.104 117.5)
XYZxyz(11.2973, 14.3967, 3.4798)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64701F #2B1F70
analogous
#70531F #64701F #3B701F
triadic
#64701F #1F6470 #701F64
tetradic
#64701F #1F7053 #2B1F70 #701F3B
square
#64701F #1F7053 #2B1F70 #701F3B
split-complementary
#64701F #1F3B70 #531F70
monochromatic
#151807 #394012 #64701F #8FA02C #B5CA3F

Accessibility & contrast

On white

5.41
#64701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #64701F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64701F#FFFFFF#000000##FFFFFF
##64701F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A12
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#6A6A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #64701f;
/* rgb */ color: rgb(100, 112, 31);
/* oklch */ color: oklch(51.9% 0.104 117.5);
Tailwind
colors: {
  custom: {
    50: '#939960',
    500: '#64701f',
    950: '#000000',
  },
}
SCSS
$custom: #64701f;
$custom-light: #939960;
$custom-dark: #000000;
JSON
{
  "hex": "#64701f",
  "rgb": {
    "r": 100,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 68.889,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.10449,
    "h": 117.5
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#64701F
secondary
#5547A4
accent
#48E05E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #64701F

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

Preview Lab → · Contrast checker → · Palette generator →

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