#64791B#64791B

#64791B is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 54.1% C 0.119 H 121.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#64791B
RGBrgb(100, 121, 27)
HSLhsl(73, 64%, 29%)
HSVhsv(73, 78%, 47%)
CMYKcmyk(17.4%, 0%, 77.7%, 52.5%)
CIE-LABlab(47.58, -21.19, 45.62)
CIE-LCHlch(47.58, 50.30, 114.92°)
OKLaboklab(54.09% -0.0624 0.101)
OKLCHoklch(54.09% 0.119 121.7)
XYZxyz(12.2909, 16.4632, 3.5669)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64791B #301B79
analogous
#795F1B #64791B #35791B
triadic
#64791B #1B6479 #791B64
tetradic
#64791B #1B795F #301B79 #791B35
square
#64791B #1B795F #301B79 #791B35
split-complementary
#64791B #1B3579 #5F1B79
monochromatic
#151906 #3B4710 #64791B #8DAB26 #B1D33B

Accessibility & contrast

On white

4.89
#64791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#64791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64791B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64791B#FFFFFF#000000##FFFFFF
##64791B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817106
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#6A7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #64791b;
/* rgb */ color: rgb(100, 121, 27);
/* oklch */ color: oklch(54.1% 0.119 121.7);
Tailwind
colors: {
  custom: {
    50: '#939f5f',
    500: '#64791b',
    950: '#000000',
  },
}
SCSS
$custom: #64791b;
$custom-light: #939f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#64791b",
  "rgb": {
    "r": 100,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 73.404,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.11867,
    "h": 121.7
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#64791B
secondary
#5A43AD
accent
#41E766
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #64791B

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

Preview Lab → · Contrast checker → · Palette generator →

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