#2D3F04#2D3F04

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

Color values

HEX#2D3F04
RGBrgb(45, 63, 4)
HSLhsl(78, 88%, 13%)
HSVhsv(78, 94%, 25%)
CMYKcmyk(28.6%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.07, -16.81, 30.65)
CIE-LCHlch(24.07, 34.95, 118.74°)
OKLaboklab(33.98% -0.0489 0.067)
OKLCHoklch(33.98% 0.083 126.1)
XYZxyz(2.8816, 4.1216, 0.7586)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F04 #16043F
analogous
#3F3304 #2D3F04 #0F3F04
triadic
#2D3F04 #042D3F #3F042D
tetradic
#2D3F04 #043F33 #16043F #3F040F
square
#2D3F04 #043F33 #16043F #3F040F
split-complementary
#2D3F04 #040F3F #33043F
monochromatic
#151D02 #151D02 #2D3F04 #567908 #7FB20B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3F04#FFFFFF#000000##FFFFFF
##2D3F041.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)
#41390A
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f04;
/* rgb */ color: rgb(45, 63, 4);
/* oklch */ color: oklch(34.0% 0.083 126.1);
Tailwind
colors: {
  custom: {
    50: '#68744a',
    500: '#2d3f04',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f04;
$custom-light: #68744a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f04",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 78.305,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.08299,
    "h": 126.1
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#2D3F04
secondary
#3C1E80
accent
#2AFE6A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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