#31640F#31640F

#31640F is a mid, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.125 H 136.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#31640F
RGBrgb(49, 100, 15)
HSLhsl(96, 74%, 23%)
HSVhsv(96, 85%, 39%)
CMYKcmyk(51%, 0%, 85%, 60.8%)
CIE-LABlab(37.48, -32.45, 39.16)
CIE-LCHlch(37.48, 50.86, 129.65°)
OKLaboklab(45.03% -0.0904 0.0866)
OKLCHoklch(45.03% 0.125 136.2)
XYZxyz(5.9099, 9.8014, 2.0323)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31640F #420F64
analogous
#5B640F #31640F #0F6417
triadic
#31640F #0F3164 #640F31
tetradic
#31640F #0F5B64 #420F64 #64170F
square
#31640F #0F5B64 #420F64 #64170F
split-complementary
#31640F #170F64 #640F5B
monochromatic
#0D1B04 #172F07 #31640F #4B9917 #65CE1F

Accessibility & contrast

On white

7.09
#31640F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#31640F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31640F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31640F#FFFFFF#000000##FFFFFF
##31640F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#2F6054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #31640f;
/* rgb */ color: rgb(49, 100, 15);
/* oklch */ color: oklch(45.0% 0.125 136.2);
Tailwind
colors: {
  custom: {
    50: '#6f9056',
    500: '#31640f',
    950: '#000000',
  },
}
SCSS
$custom: #31640f;
$custom-light: #6f9056;
$custom-dark: #000000;
JSON
{
  "hex": "#31640f",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 96,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.12522,
    "h": 136.2
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#31640F
secondary
#72329D
accent
#37F1A6
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #31640F

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

Preview Lab → · Contrast checker → · Palette generator →

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