#303F0B#303F0B

#303F0B is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.076 H 124.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#303F0B
RGBrgb(48, 63, 11)
HSLhsl(77, 70%, 15%)
HSVhsv(77, 83%, 25%)
CMYKcmyk(23.8%, 0%, 82.5%, 75.3%)
CIE-LABlab(24.35, -14.90, 28.14)
CIE-LCHlch(24.35, 31.84, 117.90°)
OKLaboklab(34.27% -0.0432 0.0628)
OKLCHoklch(34.27% 0.076 124.5)
XYZxyz(3.0569, 4.2075, 0.9676)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F0B #1A0B3F
analogous
#3F340B #303F0B #163F0B
triadic
#303F0B #0B303F #3F0B30
tetradic
#303F0B #0B3F34 #1A0B3F #3F0B16
square
#303F0B #0B3F34 #1A0B3F #3F0B16
split-complementary
#303F0B #0B163F #340B3F
monochromatic
#141A05 #141A05 #303F0B #587314 #7FA71D

Accessibility & contrast

On white

11.40
#303F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#303F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303F0B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303F0B#FFFFFF#000000##FFFFFF
##303F0B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A03
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f0b;
/* rgb */ color: rgb(48, 63, 11);
/* oklch */ color: oklch(34.3% 0.076 124.5);
Tailwind
colors: {
  custom: {
    50: '#6a744e',
    500: '#303f0b',
    950: '#000000',
  },
}
SCSS
$custom: #303f0b;
$custom-light: #6a744e;
$custom-dark: #000000;
JSON
{
  "hex": "#303f0b",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 77.308,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.07621,
    "h": 124.5
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#303F0B
secondary
#422A7C
accent
#3BED6E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #303F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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