#313F09#313F09

#313F09 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.077 H 123.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#313F09
RGBrgb(49, 63, 9)
HSLhsl(76, 75%, 14%)
HSVhsv(76, 86%, 25%)
CMYKcmyk(22.2%, 0%, 85.7%, 75.3%)
CIE-LABlab(24.41, -14.54, 29.05)
CIE-LCHlch(24.41, 32.49, 116.59°)
OKLaboklab(34.34% -0.0425 0.0643)
OKLCHoklch(34.34% 0.077 123.5)
XYZxyz(3.0935, 4.2277, 0.9114)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F09 #17093F
analogous
#3F3209 #313F09 #163F09
triadic
#313F09 #09313F #3F0931
tetradic
#313F09 #093F32 #17093F #3F0916
square
#313F09 #093F32 #17093F #3F0916
split-complementary
#313F09 #09163F #32093F
monochromatic
#151B04 #151B04 #313F09 #5B7511 #84AA18

Accessibility & contrast

On white

11.38
#313F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F09
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F09#FFFFFF#000000##FFFFFF
##313F091.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A01
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#343B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f09;
/* rgb */ color: rgb(49, 63, 9);
/* oklch */ color: oklch(34.3% 0.077 123.5);
Tailwind
colors: {
  custom: {
    50: '#6b744d',
    500: '#313f09',
    950: '#000000',
  },
}
SCSS
$custom: #313f09;
$custom-light: #6b744d;
$custom-dark: #000000;
JSON
{
  "hex": "#313f09",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 75.556,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.07708,
    "h": 123.5
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#313F09
secondary
#3D277D
accent
#36F267
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #313F09

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

Preview Lab → · Contrast checker → · Palette generator →

#313F09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva