#31650F#31650F

#31650F is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.127 H 136.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#31650F
RGBrgb(49, 101, 15)
HSLhsl(96, 74%, 23%)
HSVhsv(96, 85%, 40%)
CMYKcmyk(51.5%, 0%, 85.1%, 60.4%)
CIE-LABlab(37.83, -32.88, 39.48)
CIE-LCHlch(37.83, 51.38, 129.79°)
OKLaboklab(45.32% -0.0916 0.0873)
OKLCHoklch(45.32% 0.127 136.4)
XYZxyz(6.0064, 9.9944, 2.0645)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31650F #430F65
analogous
#5C650F #31650F #0F6518
triadic
#31650F #0F3165 #650F31
tetradic
#31650F #0F5C65 #430F65 #65180F
square
#31650F #0F5C65 #430F65 #65180F
split-complementary
#31650F #180F65 #650F5C
monochromatic
#0D1B04 #173007 #31650F #4B9A17 #65D01F

Accessibility & contrast

On white

7.00
#31650F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#31650F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31650F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31650F#FFFFFF#000000##FFFFFF
##31650F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#2E6155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #31650f;
/* rgb */ color: rgb(49, 101, 15);
/* oklch */ color: oklch(45.3% 0.127 136.4);
Tailwind
colors: {
  custom: {
    50: '#6f9156',
    500: '#31650f',
    950: '#000000',
  },
}
SCSS
$custom: #31650f;
$custom-light: #6f9156;
$custom-dark: #000000;
JSON
{
  "hex": "#31650f",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 15
  },
  "hsl": {
    "h": 96.279,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.12651,
    "h": 136.4
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#31650F
secondary
#73329E
accent
#37F1A7
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #31650F

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

Preview Lab → · Contrast checker → · Palette generator →

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