#303B0F#303B0F

#303B0F is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.067 H 122.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#303B0F
RGBrgb(48, 59, 15)
HSLhsl(75, 59%, 15%)
HSVhsv(75, 75%, 23%)
CMYKcmyk(18.6%, 0%, 74.6%, 76.9%)
CIE-LABlab(22.97, -12.28, 24.85)
CIE-LCHlch(22.97, 27.72, 116.29°)
OKLaboklab(33.17% -0.0355 0.0566)
OKLCHoklch(33.17% 0.067 122.1)
XYZxyz(2.8691, 3.7908, 1.0324)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B0F #1A0F3B
analogous
#3B300F #303B0F #1A3B0F
triadic
#303B0F #0F303B #3B0F30
tetradic
#303B0F #0F3B30 #1A0F3B #3B0F1A
square
#303B0F #0F3B30 #1A0F3B #3B0F1A
split-complementary
#303B0F #0F1A3B #300F3B
monochromatic
#141806 #141806 #303B0F #586C1B #7F9D28

Accessibility & contrast

On white

11.94
#303B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#303B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B0F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B0F#FFFFFF#000000##FFFFFF
##303B0F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3D3712
Tritanopia (blue-blind)
#333832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b0f;
/* rgb */ color: rgb(48, 59, 15);
/* oklch */ color: oklch(33.2% 0.067 122.1);
Tailwind
colors: {
  custom: {
    50: '#6a7050',
    500: '#303b0f',
    950: '#000000',
  },
}
SCSS
$custom: #303b0f;
$custom-light: #6a7050;
$custom-dark: #000000;
JSON
{
  "hex": "#303b0f",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 75,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.06685,
    "h": 122.1
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#303B0F
secondary
#423075
accent
#45E36D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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