#303A12#303A12

#303A12 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.062 H 121.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#303A12
RGBrgb(48, 58, 18)
HSLhsl(75, 53%, 15%)
HSVhsv(75, 69%, 23%)
CMYKcmyk(17.2%, 0%, 69%, 77.3%)
CIE-LABlab(22.65, -11.41, 22.93)
CIE-LCHlch(22.65, 25.61, 116.45°)
OKLaboklab(32.92% -0.0328 0.053)
OKLCHoklch(32.92% 0.062 121.7)
XYZxyz(2.8412, 3.6982, 1.1363)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A12 #1C123A
analogous
#3A3012 #303A12 #1C3A12
triadic
#303A12 #12303A #3A1230
tetradic
#303A12 #123A30 #1C123A #3A121C
square
#303A12 #123A30 #1C123A #3A121C
split-complementary
#303A12 #121C3A #30123A
monochromatic
#131707 #131707 #303A12 #576920 #7D972F

Accessibility & contrast

On white

12.07
#303A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#303A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A12
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A12#FFFFFF#000000##FFFFFF
##303A121.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360E
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a12;
/* rgb */ color: rgb(48, 58, 18);
/* oklch */ color: oklch(32.9% 0.062 121.7);
Tailwind
colors: {
  custom: {
    50: '#6a7052',
    500: '#303a12',
    950: '#000000',
  },
}
SCSS
$custom: #303a12;
$custom-light: #6a7052;
$custom-dark: #000000;
JSON
{
  "hex": "#303a12",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.06232,
    "h": 121.7
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#303A12
secondary
#443573
accent
#4CDC70
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303A12

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

Preview Lab → · Contrast checker → · Palette generator →

#303A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva