#30450F#30450F

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

Color values

HEX#30450F
RGBrgb(48, 69, 15)
HSLhsl(83, 64%, 16%)
HSVhsv(83, 78%, 27%)
CMYKcmyk(30.4%, 0%, 78.3%, 72.9%)
CIE-LABlab(26.50, -17.92, 28.52)
CIE-LCHlch(26.50, 33.68, 122.14°)
OKLaboklab(36.03% -0.0511 0.0643)
OKLCHoklch(36.03% 0.082 128.5)
XYZxyz(3.4333, 4.9190, 1.2204)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30450F #240F45
analogous
#453F0F #30450F #15450F
triadic
#30450F #0F3045 #450F30
tetradic
#30450F #0F453F #240F45 #450F15
square
#30450F #0F453F #240F45 #450F15
split-complementary
#30450F #0F1545 #3F0F45
monochromatic
#111905 #111905 #30450F #53771A #76AA25

Accessibility & contrast

On white

10.59
#30450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30450F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30450F#FFFFFF#000000##FFFFFF
##30450F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#463E14
Tritanopia (blue-blind)
#32423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30450f;
/* rgb */ color: rgb(48, 69, 15);
/* oklch */ color: oklch(36.0% 0.082 128.5);
Tailwind
colors: {
  custom: {
    50: '#6b7851',
    500: '#30450f',
    950: '#000000',
  },
}
SCSS
$custom: #30450f;
$custom-light: #6b7851;
$custom-dark: #000000;
JSON
{
  "hex": "#30450f",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 83.333,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.08214,
    "h": 128.5
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#30450F
secondary
#4F307F
accent
#41E781
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30450F

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

Preview Lab → · Contrast checker → · Palette generator →

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