#2D3F05#2D3F05

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

Color values

HEX#2D3F05
RGBrgb(45, 63, 5)
HSLhsl(79, 85%, 13%)
HSVhsv(79, 92%, 25%)
CMYKcmyk(28.6%, 0%, 92.1%, 75.3%)
CIE-LABlab(24.08, -16.74, 30.25)
CIE-LCHlch(24.08, 34.57, 118.96°)
OKLaboklab(33.98% -0.0486 0.0663)
OKLCHoklch(33.98% 0.082 126.2)
XYZxyz(2.8871, 4.1238, 0.7874)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F05 #17053F
analogous
#3F3405 #2D3F05 #103F05
triadic
#2D3F05 #052D3F #3F052D
tetradic
#2D3F05 #053F34 #17053F #3F0510
square
#2D3F05 #053F34 #17053F #3F0510
split-complementary
#2D3F05 #05103F #34053F
monochromatic
#141C02 #141C02 #2D3F05 #557809 #7EB00E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2d3f05;
/* rgb */ color: rgb(45, 63, 5);
/* oklch */ color: oklch(34.0% 0.082 126.2);
Tailwind
colors: {
  custom: {
    50: '#68744b',
    500: '#2d3f05',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f05;
$custom-light: #68744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f05",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 78.621,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33984,
    "c": 0.08225,
    "h": 126.2
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#2D3F05
secondary
#3E2080
accent
#2CFC6D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F05

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

Preview Lab → · Contrast checker → · Palette generator →

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