#30470F#30470F

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

Color values

HEX#30470F
RGBrgb(48, 71, 15)
HSLhsl(85, 65%, 17%)
HSVhsv(85, 79%, 28%)
CMYKcmyk(32.4%, 0%, 78.9%, 72.2%)
CIE-LABlab(27.21, -18.99, 29.24)
CIE-LCHlch(27.21, 34.87, 123.00°)
OKLaboklab(36.61% -0.054 0.0658)
OKLCHoklch(36.61% 0.085 129.4)
XYZxyz(3.5584, 5.1692, 1.2621)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30470F #260F47
analogous
#47420F #30470F #14470F
triadic
#30470F #0F3047 #470F30
tetradic
#30470F #0F4742 #260F47 #470F14
square
#30470F #0F4742 #260F47 #470F14
split-complementary
#30470F #0F1447 #420F47
monochromatic
#111905 #111905 #30470F #527A1A #74AC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30470F#FFFFFF#000000##FFFFFF
##30470F1.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)
#4B4106
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#32443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30470f;
/* rgb */ color: rgb(48, 71, 15);
/* oklch */ color: oklch(36.6% 0.085 129.4);
Tailwind
colors: {
  custom: {
    50: '#6b7a51',
    500: '#30470f',
    950: '#000000',
  },
}
SCSS
$custom: #30470f;
$custom-light: #6b7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#30470f",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 84.643,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36609,
    "c": 0.08515,
    "h": 129.4
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#30470F
secondary
#523081
accent
#40E885
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30470F

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

Preview Lab → · Contrast checker → · Palette generator →

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