#30460C#30460C

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

Color values

HEX#30460C
RGBrgb(48, 70, 12)
HSLhsl(83, 71%, 16%)
HSVhsv(83, 83%, 27%)
CMYKcmyk(31.4%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.83, -18.68, 30.14)
CIE-LCHlch(26.83, 35.46, 121.78°)
OKLaboklab(36.3% -0.0534 0.0672)
OKLCHoklch(36.3% 0.086 128.5)
XYZxyz(3.4754, 5.0352, 1.1365)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30460C #220C46
analogous
#463F0C #30460C #13460C
triadic
#30460C #0C3046 #460C30
tetradic
#30460C #0C463F #220C46 #460C13
square
#30460C #0C463F #220C46 #460C13
split-complementary
#30460C #0C1346 #3F0C46
monochromatic
#121A04 #121A04 #30460C #547A15 #78AE1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30460C#FFFFFF#000000##FFFFFF
##30460C1.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)
#4A4003
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#32423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30460c;
/* rgb */ color: rgb(48, 70, 12);
/* oklch */ color: oklch(36.3% 0.086 128.5);
Tailwind
colors: {
  custom: {
    50: '#6b7950',
    500: '#30460c',
    950: '#000000',
  },
}
SCSS
$custom: #30460c;
$custom-light: #6b7950;
$custom-dark: #000000;
JSON
{
  "hex": "#30460c",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 82.759,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36295,
    "c": 0.08584,
    "h": 128.5
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#30460C
secondary
#4D2C82
accent
#3AED7E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30460C

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

Preview Lab → · Contrast checker → · Palette generator →

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