#2D4F16#2D4F16

#2D4F16 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.093 H 135.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2D4F16
RGBrgb(45, 79, 22)
HSLhsl(96, 56%, 20%)
HSVhsv(96, 72%, 31%)
CMYKcmyk(43%, 0%, 72.2%, 69%)
CIE-LABlab(29.93, -23.73, 28.76)
CIE-LCHlch(29.93, 37.29, 129.52°)
OKLaboklab(38.8% -0.066 0.066)
OKLCHoklch(38.8% 0.093 135)
XYZxyz(4.0229, 6.2076, 1.7451)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F16 #38164F
analogous
#4A4F16 #2D4F16 #164F1B
triadic
#2D4F16 #162D4F #4F162D
tetradic
#2D4F16 #164A4F #38164F #4F1B16
square
#2D4F16 #164A4F #38164F #4F1B16
split-complementary
#2D4F16 #1B164F #4F164A
monochromatic
#0E1807 #121F09 #2D4F16 #487F23 #64AF31

Accessibility & contrast

On white

9.37
#2D4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F16
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F16#FFFFFF#000000##FFFFFF
##2D4F161.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480E
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4f16;
/* rgb */ color: rgb(45, 79, 22);
/* oklch */ color: oklch(38.8% 0.093 135.0);
Tailwind
colors: {
  custom: {
    50: '#698056',
    500: '#2d4f16',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f16;
$custom-light: #698056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f16",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 95.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.09337,
    "h": 135
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#2D4F16
secondary
#683A86
accent
#48E0A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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