#2D4F0E#2D4F0E

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

Color values

HEX#2D4F0E
RGBrgb(45, 79, 14)
HSLhsl(91, 70%, 18%)
HSVhsv(91, 82%, 31%)
CMYKcmyk(43%, 0%, 82.3%, 69%)
CIE-LABlab(29.87, -24.40, 32.22)
CIE-LCHlch(29.87, 40.42, 127.13°)
OKLaboklab(38.72% -0.0686 0.072)
OKLCHoklch(38.72% 0.099 133.6)
XYZxyz(3.9574, 6.1814, 1.4000)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F0E #300E4F
analogous
#4D4F0E #2D4F0E #0E4F10
triadic
#2D4F0E #0E2D4F #4F0E2D
tetradic
#2D4F0E #0E4D4F #300E4F #4F100E
square
#2D4F0E #0E4D4F #300E4F #4F100E
split-complementary
#2D4F0E #100E4F #4F0E4D
monochromatic
#0F1A05 #0F1B05 #2D4F0E #4B8317 #68B720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4F0E#FFFFFF#000000##FFFFFF
##2D4F0E1.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)
#524802
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#2D4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4f0e;
/* rgb */ color: rgb(45, 79, 14);
/* oklch */ color: oklch(38.7% 0.099 133.6);
Tailwind
colors: {
  custom: {
    50: '#6a8052',
    500: '#2d4f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f0e;
$custom-light: #6a8052;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f0e",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 91.385,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38722,
    "c": 0.0994,
    "h": 133.6
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#2D4F0E
secondary
#5E2F8A
accent
#3BED98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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