#313F10#313F10

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

Color values

HEX#313F10
RGBrgb(49, 63, 16)
HSLhsl(78, 59%, 15%)
HSVhsv(78, 75%, 25%)
CMYKcmyk(22.2%, 0%, 74.6%, 75.3%)
CIE-LABlab(24.47, -14.03, 25.96)
CIE-LCHlch(24.47, 29.51, 118.38°)
OKLaboklab(34.41% -0.0403 0.0591)
OKLCHoklch(34.41% 0.072 124.3)
XYZxyz(3.1377, 4.2454, 1.1442)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F10 #1E103F
analogous
#3F3510 #313F10 #193F10
triadic
#313F10 #10313F #3F1031
tetradic
#313F10 #103F35 #1E103F #3F1019
square
#313F10 #103F35 #1E103F #3F1019
split-complementary
#313F10 #10193F #35103F
monochromatic
#131806 #131806 #313F10 #57701C #7DA129

Accessibility & contrast

On white

11.36
#313F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F10
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F10#FFFFFF#000000##FFFFFF
##313F101.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313f10;
/* rgb */ color: rgb(49, 63, 16);
/* oklch */ color: oklch(34.4% 0.072 124.3);
Tailwind
colors: {
  custom: {
    50: '#6b7451',
    500: '#313f10',
    950: '#000000',
  },
}
SCSS
$custom: #313f10;
$custom-light: #6b7451;
$custom-dark: #000000;
JSON
{
  "hex": "#313f10",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 16
  },
  "hsl": {
    "h": 77.872,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.07155,
    "h": 124.3
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#313F10
secondary
#473279
accent
#45E374
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313F10

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

Preview Lab → · Contrast checker → · Palette generator →

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