#2D3F07#2D3F07

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

Color values

HEX#2D3F07
RGBrgb(45, 63, 7)
HSLhsl(79, 80%, 14%)
HSVhsv(79, 89%, 25%)
CMYKcmyk(28.6%, 0%, 88.9%, 75.3%)
CIE-LABlab(24.09, -16.60, 29.45)
CIE-LCHlch(24.09, 33.80, 119.41°)
OKLaboklab(34% -0.048 0.0649)
OKLCHoklch(34% 0.081 126.5)
XYZxyz(2.8981, 4.1282, 0.8451)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F07 #19073F
analogous
#3F3507 #2D3F07 #113F07
triadic
#2D3F07 #072D3F #3F072D
tetradic
#2D3F07 #073F35 #19073F #3F0711
square
#2D3F07 #073F35 #19073F #3F0711
split-complementary
#2D3F07 #07113F #35073F
monochromatic
#141C03 #141C03 #2D3F07 #54760D #7CAD13

Accessibility & contrast

On white

11.50
#2D3F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F07
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F07#FFFFFF#000000##FFFFFF
##2D3F071.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f07;
/* rgb */ color: rgb(45, 63, 7);
/* oklch */ color: oklch(34.0% 0.081 126.5);
Tailwind
colors: {
  custom: {
    50: '#68744c',
    500: '#2d3f07',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f07;
$custom-light: #68744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f07",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 79.286,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34,
    "c": 0.08079,
    "h": 126.5
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#2D3F07
secondary
#41247E
accent
#31F671
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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