#30531D#30531D

#30531D is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.091 H 136.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#30531D
RGBrgb(48, 83, 29)
HSLhsl(99, 48%, 22%)
HSVhsv(99, 65%, 33%)
CMYKcmyk(42.2%, 0%, 65.1%, 67.5%)
CIE-LABlab(31.59, -23.78, 27.11)
CIE-LCHlch(31.59, 36.06, 131.25°)
OKLaboklab(40.22% -0.0658 0.0634)
OKLCHoklch(40.22% 0.091 136.1)
XYZxyz(4.5338, 6.9034, 2.2558)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30531D #401D53
analogous
#4B531D #30531D #1D5325
triadic
#30531D #1D3053 #531D30
tetradic
#30531D #1D4B53 #401D53 #53251D
square
#30531D #1D4B53 #401D53 #53251D
split-complementary
#30531D #251D53 #531D4B
monochromatic
#0D1708 #16260D #30531D #4A802D #64AE3D

Accessibility & contrast

On white

8.82
#30531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#30531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30531D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30531D#FFFFFF#000000##FFFFFF
##30531D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C17
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#2F5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30531d;
/* rgb */ color: rgb(48, 83, 29);
/* oklch */ color: oklch(40.2% 0.091 136.1);
Tailwind
colors: {
  custom: {
    50: '#6b835b',
    500: '#30531d',
    950: '#000000',
  },
}
SCSS
$custom: #30531d;
$custom-light: #6b835b;
$custom-dark: #000000;
JSON
{
  "hex": "#30531d",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 98.889,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.09135,
    "h": 136.1
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#30531D
secondary
#704488
accent
#50D8A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #30531D

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

Preview Lab → · Contrast checker → · Palette generator →

#30531D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva