#30470D#30470D

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

Color values

HEX#30470D
RGBrgb(48, 71, 13)
HSLhsl(84, 69%, 16%)
HSVhsv(84, 82%, 28%)
CMYKcmyk(32.4%, 0%, 81.7%, 72.2%)
CIE-LABlab(27.20, -19.14, 30.09)
CIE-LCHlch(27.20, 35.66, 122.46°)
OKLaboklab(36.59% -0.0546 0.0672)
OKLCHoklch(36.59% 0.087 129.1)
XYZxyz(3.5448, 5.1638, 1.1906)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30470D #240D47
analogous
#47410D #30470D #13470D
triadic
#30470D #0D3047 #470D30
tetradic
#30470D #0D4741 #240D47 #470D13
square
#30470D #0D4741 #240D47 #470D13
split-complementary
#30470D #0D1347 #410D47
monochromatic
#111A05 #111A05 #30470D #537B16 #76AE20

Accessibility & contrast

On white

10.33
#30470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30470D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30470D#FFFFFF#000000##FFFFFF
##30470D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30470d;
/* rgb */ color: rgb(48, 71, 13);
/* oklch */ color: oklch(36.6% 0.087 129.1);
Tailwind
colors: {
  custom: {
    50: '#6b7a50',
    500: '#30470d',
    950: '#000000',
  },
}
SCSS
$custom: #30470d;
$custom-light: #6b7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#30470d",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 83.793,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36591,
    "c": 0.08662,
    "h": 129.1
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#30470D
secondary
#4F2D82
accent
#3CEC82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30470D

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

Preview Lab → · Contrast checker → · Palette generator →

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