#2D640E#2D640E

#2D640E is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.8% C 0.128 H 137.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2D640E
RGBrgb(45, 100, 14)
HSLhsl(98, 75%, 22%)
HSVhsv(98, 86%, 39%)
CMYKcmyk(55%, 0%, 86%, 60.8%)
CIE-LABlab(37.30, -33.84, 39.25)
CIE-LCHlch(37.30, 51.82, 130.77°)
OKLaboklab(44.83% -0.094 0.0867)
OKLCHoklch(44.83% 0.128 137.3)
XYZxyz(5.7184, 9.7035, 1.9870)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D640E #450E64
analogous
#58640E #2D640E #0E641A
triadic
#2D640E #0E2D64 #640E2D
tetradic
#2D640E #0E5864 #450E64 #641A0E
square
#2D640E #0E5864 #450E64 #641A0E
split-complementary
#2D640E #1A0E64 #640E58
monochromatic
#0C1B04 #152E06 #2D640E #459A16 #5DCF1D

Accessibility & contrast

On white

7.14
#2D640E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D640E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D640E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D640E#FFFFFF#000000##FFFFFF
##2D640E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#296054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d640e;
/* rgb */ color: rgb(45, 100, 14);
/* oklch */ color: oklch(44.8% 0.128 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d9155',
    500: '#2d640e',
    950: '#000000',
  },
}
SCSS
$custom: #2d640e;
$custom-light: #6d9155;
$custom-dark: #000000;
JSON
{
  "hex": "#2d640e",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 14
  },
  "hsl": {
    "h": 98.372,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.12783,
    "h": 137.3
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#2D640E
secondary
#76319D
accent
#36F2AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2D640E

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

Preview Lab → · Contrast checker → · Palette generator →

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