#30470B#30470B

#30470B is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.088 H 128.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#30470B
RGBrgb(48, 71, 11)
HSLhsl(83, 73%, 16%)
HSVhsv(83, 85%, 28%)
CMYKcmyk(32.4%, 0%, 84.5%, 72.2%)
CIE-LABlab(27.18, -19.27, 30.88)
CIE-LCHlch(27.18, 36.40, 121.97°)
OKLaboklab(36.58% -0.0551 0.0685)
OKLCHoklch(36.58% 0.088 128.8)
XYZxyz(3.5326, 5.1589, 1.1262)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30470B #220B47
analogous
#47400B #30470B #12470B
triadic
#30470B #0B3047 #470B30
tetradic
#30470B #0B4740 #220B47 #470B12
square
#30470B #0B4740 #220B47 #470B12
split-complementary
#30470B #0B1247 #400B47
monochromatic
#121A04 #121A04 #30470B #547C13 #78B11B

Accessibility & contrast

On white

10.34
#30470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#30470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30470B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30470B#FFFFFF#000000##FFFFFF
##30470B1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4101
Deuteranopia (green-blind)
#484011
Tritanopia (blue-blind)
#32433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30470b;
/* rgb */ color: rgb(48, 71, 11);
/* oklch */ color: oklch(36.6% 0.088 128.8);
Tailwind
colors: {
  custom: {
    50: '#6b7a4f',
    500: '#30470b',
    950: '#000000',
  },
}
SCSS
$custom: #30470b;
$custom-light: #6b7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#30470b",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 83,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.08796,
    "h": 128.8
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#30470B
secondary
#4D2A83
accent
#38F07E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30470B

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

Preview Lab → · Contrast checker → · Palette generator →

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