#30450B#30450B

#30450B is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.085 H 127.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#30450B
RGBrgb(48, 69, 11)
HSLhsl(82, 73%, 16%)
HSVhsv(82, 84%, 27%)
CMYKcmyk(30.4%, 0%, 84.1%, 72.9%)
CIE-LABlab(26.47, -18.21, 30.20)
CIE-LCHlch(26.47, 35.26, 121.08°)
OKLaboklab(36% -0.0522 0.0671)
OKLCHoklch(36% 0.085 127.9)
XYZxyz(3.4075, 4.9087, 1.0845)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30450B #200B45
analogous
#453D0B #30450B #13450B
triadic
#30450B #0B3045 #450B30
tetradic
#30450B #0B453D #200B45 #450B13
square
#30450B #0B453D #200B45 #450B13
split-complementary
#30450B #0B1345 #3D0B45
monochromatic
#121A04 #121A04 #30450B #557A13 #79AF1C

Accessibility & contrast

On white

10.60
#30450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#30450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30450B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30450B#FFFFFF#000000##FFFFFF
##30450B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494002
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#32413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30450b;
/* rgb */ color: rgb(48, 69, 11);
/* oklch */ color: oklch(36.0% 0.085 127.9);
Tailwind
colors: {
  custom: {
    50: '#6b784f',
    500: '#30450b',
    950: '#000000',
  },
}
SCSS
$custom: #30450b;
$custom-light: #6b784f;
$custom-dark: #000000;
JSON
{
  "hex": "#30450b",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 81.724,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.08505,
    "h": 127.9
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#30450B
secondary
#4A2A81
accent
#39EF7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30450B

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

Preview Lab → · Contrast checker → · Palette generator →

#30450B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva