#2D3F03#2D3F03

#2D3F03 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.084 H 126.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2D3F03
RGBrgb(45, 63, 3)
HSLhsl(78, 91%, 13%)
HSVhsv(78, 95%, 25%)
CMYKcmyk(28.6%, 0%, 95.2%, 75.3%)
CIE-LABlab(24.06, -16.87, 31.05)
CIE-LCHlch(24.06, 35.34, 118.52°)
OKLaboklab(33.97% -0.0492 0.0677)
OKLCHoklch(33.97% 0.084 126)
XYZxyz(2.8762, 4.1194, 0.7297)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F03 #15033F
analogous
#3F3303 #2D3F03 #0F3F03
triadic
#2D3F03 #032D3F #3F032D
tetradic
#2D3F03 #033F33 #15033F #3F030F
square
#2D3F03 #033F33 #15033F #3F030F
split-complementary
#2D3F03 #030F3F #33033F
monochromatic
#151D01 #151D01 #2D3F03 #577906 #80B409

Accessibility & contrast

On white

11.51
#2D3F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D3F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F03
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F03#FFFFFF#000000##FFFFFF
##2D3F031.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#413909
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f03;
/* rgb */ color: rgb(45, 63, 3);
/* oklch */ color: oklch(34.0% 0.084 126.0);
Tailwind
colors: {
  custom: {
    50: '#69744a',
    500: '#2d3f03',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f03;
$custom-light: #69744a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f03",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 3
  },
  "hsl": {
    "h": 78,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33968,
    "c": 0.08373,
    "h": 126
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#2D3F03
secondary
#3B1D81
accent
#29FF69
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F03

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

Preview Lab → · Contrast checker → · Palette generator →

#2D3F03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva