#304B0E#304B0E

#304B0E is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.092 H 130.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#304B0E
RGBrgb(48, 75, 14)
HSLhsl(87, 69%, 17%)
HSVhsv(87, 81%, 29%)
CMYKcmyk(36%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.62, -21.15, 31.07)
CIE-LCHlch(28.62, 37.59, 124.25°)
OKLaboklab(37.75% -0.06 0.0695)
OKLCHoklch(37.75% 0.092 130.8)
XYZxyz(3.8142, 5.6921, 1.3131)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B0E #290E4B
analogous
#4B470E #304B0E #124B0E
triadic
#304B0E #0E304B #4B0E30
tetradic
#304B0E #0E4B47 #290E4B #4B0E12
square
#304B0E #0E4B47 #290E4B #4B0E12
split-complementary
#304B0E #0E124B #470E4B
monochromatic
#111A05 #111A05 #304B0E #517F18 #72B221

Accessibility & contrast

On white

9.82
#304B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#304B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B0E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B0E#FFFFFF#000000##FFFFFF
##304B0E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#31473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304b0e;
/* rgb */ color: rgb(48, 75, 14);
/* oklch */ color: oklch(37.8% 0.092 130.8);
Tailwind
colors: {
  custom: {
    50: '#6b7d51',
    500: '#304b0e',
    950: '#000000',
  },
}
SCSS
$custom: #304b0e;
$custom-light: #6b7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#304b0e",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 86.557,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.09179,
    "h": 130.8
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#304B0E
secondary
#552F86
accent
#3CEB8A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304B0E

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

Preview Lab → · Contrast checker → · Palette generator →

#304B0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva