#30460B#30460B

#30460B is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.087 H 128.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#30460B
RGBrgb(48, 70, 11)
HSLhsl(82, 73%, 16%)
HSVhsv(82, 84%, 27%)
CMYKcmyk(31.4%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.83, -18.74, 30.54)
CIE-LCHlch(26.83, 35.83, 121.54°)
OKLaboklab(36.29% -0.0537 0.0678)
OKLCHoklch(36.29% 0.087 128.4)
XYZxyz(3.4695, 5.0328, 1.1052)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30460B #210B46
analogous
#463E0B #30460B #12460B
triadic
#30460B #0B3046 #460B30
tetradic
#30460B #0B463E #210B46 #460B12
square
#30460B #0B463E #210B46 #460B12
split-complementary
#30460B #0B1246 #3E0B46
monochromatic
#121A04 #121A04 #30460B #547B13 #79B01C

Accessibility & contrast

On white

10.47
#30460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#30460B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30460B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30460B#FFFFFF#000000##FFFFFF
##30460B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4002
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#32423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30460b;
/* rgb */ color: rgb(48, 70, 11);
/* oklch */ color: oklch(36.3% 0.087 128.4);
Tailwind
colors: {
  custom: {
    50: '#6b794f',
    500: '#30460b',
    950: '#000000',
  },
}
SCSS
$custom: #30460b;
$custom-light: #6b794f;
$custom-dark: #000000;
JSON
{
  "hex": "#30460b",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 82.373,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36287,
    "c": 0.08651,
    "h": 128.4
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#30460B
secondary
#4B2A82
accent
#38F07D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30460B

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

Preview Lab → · Contrast checker → · Palette generator →

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