#31530E#31530E

#31530E is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.103 H 132.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#31530E
RGBrgb(49, 83, 14)
HSLhsl(90, 71%, 19%)
HSVhsv(90, 83%, 33%)
CMYKcmyk(41%, 0%, 83.1%, 67.5%)
CIE-LABlab(31.51, -24.73, 33.89)
CIE-LCHlch(31.51, 41.95, 126.12°)
OKLaboklab(40.13% -0.0697 0.0754)
OKLCHoklch(40.13% 0.103 132.8)
XYZxyz(4.4391, 6.8710, 1.5077)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31530E #300E53
analogous
#53530E #31530E #0F530E
triadic
#31530E #0E3153 #530E31
tetradic
#31530E #0E5353 #300E53 #530E0F
square
#31530E #0E5353 #300E53 #530E0F
split-complementary
#31530E #0E0F53 #530E53
monochromatic
#0F1A04 #121F05 #31530E #508717 #6FBC20

Accessibility & contrast

On white

8.85
#31530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#31530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31530E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31530E#FFFFFF#000000##FFFFFF
##31530E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#314F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #31530e;
/* rgb */ color: rgb(49, 83, 14);
/* oklch */ color: oklch(40.1% 0.103 132.8);
Tailwind
colors: {
  custom: {
    50: '#6d8353',
    500: '#31530e',
    950: '#000000',
  },
}
SCSS
$custom: #31530e;
$custom-light: #6d8353;
$custom-dark: #000000;
JSON
{
  "hex": "#31530e",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 89.565,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.10269,
    "h": 132.8
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#31530E
secondary
#5E2F8D
accent
#3AEE93
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #31530E

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

Preview Lab → · Contrast checker → · Palette generator →

#31530E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva