#64981F#64981F

#64981F is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.156 H 130.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#64981F
RGBrgb(100, 152, 31)
HSLhsl(86, 66%, 36%)
HSVhsv(86, 80%, 60%)
CMYKcmyk(34.2%, 0%, 79.6%, 40.4%)
CIE-LABlab(57.33, -35.87, 53.45)
CIE-LCHlch(57.33, 64.37, 123.86°)
OKLaboklab(62.01% -0.102 0.1181)
OKLCHoklch(62.01% 0.156 130.8)
XYZxyz(16.7310, 25.2641, 5.2910)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64981F #531F98
analogous
#988F1F #64981F #28981F
triadic
#64981F #1F6498 #981F64
tetradic
#64981F #1F988F #531F98 #981F28
square
#64981F #1F988F #531F98 #981F28
split-complementary
#64981F #1F2898 #8F1F98
monochromatic
#21320A #436515 #64981F #85CB29 #A2DC55

Accessibility & contrast

On white

3.47
#64981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#64981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64981F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64981F#FFFFFF#000000##000000
##64981F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#669182
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #64981f;
/* rgb */ color: rgb(100, 152, 31);
/* oklch */ color: oklch(62.0% 0.156 130.8);
Tailwind
colors: {
  custom: {
    50: '#95b665',
    500: '#64981f',
    950: '#000000',
  },
}
SCSS
$custom: #64981f;
$custom-light: #95b665;
$custom-dark: #000000;
JSON
{
  "hex": "#64981f",
  "rgb": {
    "r": 100,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 85.785,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62012,
    "c": 0.15606,
    "h": 130.8
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#64981F
secondary
#8253C0
accent
#3FE988
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #64981F

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

Preview Lab → · Contrast checker → · Palette generator →

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