#2D4F10#2D4F10

#2D4F10 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.098 H 133.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2D4F10
RGBrgb(45, 79, 16)
HSLhsl(92, 66%, 19%)
HSVhsv(92, 80%, 31%)
CMYKcmyk(43%, 0%, 79.7%, 69%)
CIE-LABlab(29.88, -24.25, 31.43)
CIE-LCHlch(29.88, 39.70, 127.66°)
OKLaboklab(38.74% -0.068 0.0706)
OKLCHoklch(38.74% 0.098 133.9)
XYZxyz(3.9716, 6.1871, 1.4751)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F10 #32104F
analogous
#4C4F10 #2D4F10 #104F12
triadic
#2D4F10 #102D4F #4F102D
tetradic
#2D4F10 #104C4F #32104F #4F1210
square
#2D4F10 #104C4F #32104F #4F1210
split-complementary
#2D4F10 #12104F #4F104C
monochromatic
#0E1905 #101C06 #2D4F10 #4A821A #67B525

Accessibility & contrast

On white

9.39
#2D4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4F10
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F10#FFFFFF#000000##FFFFFF
##2D4F101.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#2D4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4f10;
/* rgb */ color: rgb(45, 79, 16);
/* oklch */ color: oklch(38.7% 0.098 133.9);
Tailwind
colors: {
  custom: {
    50: '#698053',
    500: '#2d4f10',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f10;
$custom-light: #698053;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f10",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 92.381,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.09804,
    "h": 133.9
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#2D4F10
secondary
#613289
accent
#3FE99B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2D4F10

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

Preview Lab → · Contrast checker → · Palette generator →

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