#31630F#31630F

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

Color values

HEX#31630F
RGBrgb(49, 99, 15)
HSLhsl(96, 74%, 22%)
HSVhsv(96, 85%, 39%)
CMYKcmyk(50.5%, 0%, 84.8%, 61.2%)
CIE-LABlab(37.13, -32.02, 38.84)
CIE-LCHlch(37.13, 50.33, 129.50°)
OKLaboklab(44.74% -0.0893 0.0859)
OKLCHoklch(44.74% 0.124 136.1)
XYZxyz(5.8145, 9.6108, 2.0005)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31630F #410F63
analogous
#5B630F #31630F #0F6317
triadic
#31630F #0F3163 #630F31
tetradic
#31630F #0F5B63 #410F63 #63170F
square
#31630F #0F5B63 #410F63 #63170F
split-complementary
#31630F #170F63 #630F5B
monochromatic
#0D1B04 #172E07 #31630F #4B9817 #66CD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31630F#FFFFFF#000000##FFFFFF
##31630F1.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)
#605619
Tritanopia (blue-blind)
#2F5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #31630f;
/* rgb */ color: rgb(49, 99, 15);
/* oklch */ color: oklch(44.7% 0.124 136.1);
Tailwind
colors: {
  custom: {
    50: '#6f9056',
    500: '#31630f',
    950: '#000000',
  },
}
SCSS
$custom: #31630f;
$custom-light: #6f9056;
$custom-dark: #000000;
JSON
{
  "hex": "#31630f",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 95.714,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.1239,
    "h": 136.1
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#31630F
secondary
#71329C
accent
#37F0A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #31630F

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

Preview Lab → · Contrast checker → · Palette generator →

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