#2D3E07#2D3E07

#2D3E07 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.079 H 125.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2D3E07
RGBrgb(45, 62, 7)
HSLhsl(79, 80%, 14%)
HSVhsv(79, 89%, 24%)
CMYKcmyk(27.4%, 0%, 88.7%, 75.7%)
CIE-LABlab(23.73, -16.05, 29.09)
CIE-LCHlch(23.73, 33.22, 118.88°)
OKLaboklab(33.71% -0.0465 0.0643)
OKLCHoklch(33.71% 0.079 125.9)
XYZxyz(2.8432, 4.0184, 0.8268)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E07 #18073E
analogous
#3E3307 #2D3E07 #113E07
triadic
#2D3E07 #072D3E #3E072D
tetradic
#2D3E07 #073E33 #18073E #3E0711
square
#2D3E07 #073E33 #18073E #3E0711
split-complementary
#2D3E07 #07113E #33073E
monochromatic
#141B03 #141B03 #2D3E07 #55750D #7DAC13

Accessibility & contrast

On white

11.64
#2D3E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D3E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E07
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E07#FFFFFF#000000##FFFFFF
##2D3E071.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40380C
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3e07;
/* rgb */ color: rgb(45, 62, 7);
/* oklch */ color: oklch(33.7% 0.079 125.9);
Tailwind
colors: {
  custom: {
    50: '#68734c',
    500: '#2d3e07',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e07;
$custom-light: #68734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e07",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 78.545,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.07934,
    "h": 125.9
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#2D3E07
secondary
#3F247D
accent
#32F66E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3E07

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

Preview Lab → · Contrast checker → · Palette generator →

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