#313F11#313F11

#313F11 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.4% C 0.071 H 124.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#313F11
RGBrgb(49, 63, 17)
HSLhsl(78, 58%, 16%)
HSVhsv(78, 73%, 25%)
CMYKcmyk(22.2%, 0%, 73%, 75.3%)
CIE-LABlab(24.48, -13.94, 25.47)
CIE-LCHlch(24.48, 29.04, 118.69°)
OKLaboklab(34.42% -0.04 0.0582)
OKLCHoklch(34.42% 0.071 124.5)
XYZxyz(3.1453, 4.2484, 1.1845)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F11 #1F113F
analogous
#3F3611 #313F11 #1A3F11
triadic
#313F11 #11313F #3F1131
tetradic
#313F11 #113F36 #1F113F #3F111A
square
#313F11 #113F36 #1F113F #3F111A
split-complementary
#313F11 #111A3F #36113F
monochromatic
#131807 #131807 #313F11 #566F1E #7C9F2B

Accessibility & contrast

On white

11.35
#313F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F11
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F11#FFFFFF#000000##FFFFFF
##313F111.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0B
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#343C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f11;
/* rgb */ color: rgb(49, 63, 17);
/* oklch */ color: oklch(34.4% 0.071 124.5);
Tailwind
colors: {
  custom: {
    50: '#6b7451',
    500: '#313f11',
    950: '#000000',
  },
}
SCSS
$custom: #313f11;
$custom-light: #6b7451;
$custom-dark: #000000;
JSON
{
  "hex": "#313f11",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 17
  },
  "hsl": {
    "h": 78.261,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.07064,
    "h": 124.5
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#313F11
secondary
#483378
accent
#47E176
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313F11

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

Preview Lab → · Contrast checker → · Palette generator →

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