#30470C#30470C

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

Color values

HEX#30470C
RGBrgb(48, 71, 12)
HSLhsl(83, 71%, 16%)
HSVhsv(83, 83%, 28%)
CMYKcmyk(32.4%, 0%, 83.1%, 72.2%)
CIE-LABlab(27.19, -19.21, 30.49)
CIE-LCHlch(27.19, 36.03, 122.21°)
OKLaboklab(36.58% -0.0549 0.0679)
OKLCHoklch(36.58% 0.087 128.9)
XYZxyz(3.5385, 5.1613, 1.1576)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30470C #230C47
analogous
#47410C #30470C #13470C
triadic
#30470C #0C3047 #470C30
tetradic
#30470C #0C4741 #230C47 #470C13
square
#30470C #0C4741 #230C47 #470C13
split-complementary
#30470C #0C1347 #410C47
monochromatic
#121A04 #121A04 #30470C #537B15 #77B01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30470C#FFFFFF#000000##FFFFFF
##30470C1.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)
#4B4102
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#32433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30470c;
/* rgb */ color: rgb(48, 71, 12);
/* oklch */ color: oklch(36.6% 0.087 128.9);
Tailwind
colors: {
  custom: {
    50: '#6b7a50',
    500: '#30470c',
    950: '#000000',
  },
}
SCSS
$custom: #30470c;
$custom-light: #6b7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#30470c",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 83.39,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36583,
    "c": 0.08731,
    "h": 128.9
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#30470C
secondary
#4E2C83
accent
#3AEE80
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30470C

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

Preview Lab → · Contrast checker → · Palette generator →

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