#31630E#31630E

#31630E is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.124 H 136.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#31630E
RGBrgb(49, 99, 14)
HSLhsl(95, 75%, 22%)
HSVhsv(95, 86%, 39%)
CMYKcmyk(50.5%, 0%, 85.9%, 61.2%)
CIE-LABlab(37.13, -32.07, 39.15)
CIE-LCHlch(37.13, 50.61, 129.32°)
OKLaboklab(44.74% -0.0895 0.0864)
OKLCHoklch(44.74% 0.124 136)
XYZxyz(5.8076, 9.6080, 1.9639)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31630E #400E63
analogous
#5C630E #31630E #0E6316
triadic
#31630E #0E3163 #630E31
tetradic
#31630E #0E5C63 #400E63 #63160E
square
#31630E #0E5C63 #400E63 #63160E
split-complementary
#31630E #160E63 #630E5C
monochromatic
#0D1B04 #162D06 #31630E #4C9916 #66CE1D

Accessibility & contrast

On white

7.19
#31630E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#31630E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31630E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31630E#FFFFFF#000000##FFFFFF
##31630E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#2F5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #31630e;
/* rgb */ color: rgb(49, 99, 14);
/* oklch */ color: oklch(44.7% 0.124 136.0);
Tailwind
colors: {
  custom: {
    50: '#6f9055',
    500: '#31630e',
    950: '#000000',
  },
}
SCSS
$custom: #31630e;
$custom-light: #6f9055;
$custom-dark: #000000;
JSON
{
  "hex": "#31630e",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 95.294,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.12441,
    "h": 136
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#31630E
secondary
#70309C
accent
#36F2A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #31630E

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

Preview Lab → · Contrast checker → · Palette generator →

#31630E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva