#30460F#30460F

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

Color values

HEX#30460F
RGBrgb(48, 70, 15)
HSLhsl(84, 65%, 17%)
HSVhsv(84, 79%, 27%)
CMYKcmyk(31.4%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.86, -18.46, 28.88)
CIE-LCHlch(26.86, 34.28, 122.58°)
OKLaboklab(36.32% -0.0525 0.0651)
OKLCHoklch(36.32% 0.084 128.9)
XYZxyz(3.4953, 5.0431, 1.2411)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30460F #250F46
analogous
#46410F #30460F #15460F
triadic
#30460F #0F3046 #460F30
tetradic
#30460F #0F4641 #250F46 #460F15
square
#30460F #0F4641 #250F46 #460F15
split-complementary
#30460F #0F1546 #410F46
monochromatic
#111905 #111905 #30460F #53781A #75AB25

Accessibility & contrast

On white

10.46
#30460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30460F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30460F#FFFFFF#000000##FFFFFF
##30460F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4006
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#32433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30460f;
/* rgb */ color: rgb(48, 70, 15);
/* oklch */ color: oklch(36.3% 0.084 128.9);
Tailwind
colors: {
  custom: {
    50: '#6b7951',
    500: '#30460f',
    950: '#000000',
  },
}
SCSS
$custom: #30460f;
$custom-light: #6b7951;
$custom-dark: #000000;
JSON
{
  "hex": "#30460f",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 84,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36321,
    "c": 0.08365,
    "h": 128.9
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#30460F
secondary
#503080
accent
#40E883
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30460F

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

Preview Lab → · Contrast checker → · Palette generator →

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