#64791A#64791A

#64791A 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#64791A
RGBrgb(100, 121, 26)
HSLhsl(73, 65%, 29%)
HSVhsv(73, 79%, 47%)
CMYKcmyk(17.4%, 0%, 78.5%, 52.5%)
CIE-LABlab(47.57, -21.24, 45.97)
CIE-LCHlch(47.57, 50.64, 114.80°)
OKLaboklab(54.08% -0.0626 0.1015)
OKLCHoklch(54.08% 0.119 121.7)
XYZxyz(12.2796, 16.4586, 3.5070)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64791A #2F1A79
analogous
#795F1A #64791A #35791A
triadic
#64791A #1A6479 #791A64
tetradic
#64791A #1A795F #2F1A79 #791A35
square
#64791A #1A795F #2F1A79 #791A35
split-complementary
#64791A #1A3579 #5F1A79
monochromatic
#151905 #3A470F #64791A #8EAB25 #B2D439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##64791A#FFFFFF#000000##FFFFFF
##64791A1.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)
#817104
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#6A7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #64791a;
/* rgb */ color: rgb(100, 121, 26);
/* oklch */ color: oklch(54.1% 0.119 121.7);
Tailwind
colors: {
  custom: {
    50: '#939f5f',
    500: '#64791a',
    950: '#000000',
  },
}
SCSS
$custom: #64791a;
$custom-light: #939f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#64791a",
  "rgb": {
    "r": 100,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 73.263,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.11927,
    "h": 121.7
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#64791A
secondary
#5941AD
accent
#40E865
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #64791A

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

Preview Lab → · Contrast checker → · Palette generator →

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