#2D3A07#2D3A07

#2D3A07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.074 H 123.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3A07
RGBrgb(45, 58, 7)
HSLhsl(75, 78%, 13%)
HSVhsv(75, 88%, 23%)
CMYKcmyk(22.4%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.30, -13.79, 27.62)
CIE-LCHlch(22.30, 30.87, 116.52°)
OKLaboklab(32.55% -0.0404 0.0615)
OKLCHoklch(32.55% 0.074 123.3)
XYZxyz(2.6336, 3.5993, 0.7570)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A07 #14073A
analogous
#3A2D07 #2D3A07 #133A07
triadic
#2D3A07 #072D3A #3A072D
tetradic
#2D3A07 #073A2D #14073A #3A0713
square
#2D3A07 #073A2D #14073A #3A0713
split-complementary
#2D3A07 #07133A #2D073A
monochromatic
#151B03 #151B03 #2D3A07 #57710E #82A714

Accessibility & contrast

On white

12.21
#2D3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D3A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A07
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A07#FFFFFF#000000##FFFFFF
##2D3A071.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#303730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a07;
/* rgb */ color: rgb(45, 58, 7);
/* oklch */ color: oklch(32.5% 0.074 123.3);
Tailwind
colors: {
  custom: {
    50: '#68704b',
    500: '#2d3a07',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a07;
$custom-light: #68704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a07",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 75.294,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.07352,
    "h": 123.3
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#2D3A07
secondary
#392379
accent
#33F564
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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