#2D640D#2D640D

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

Color values

HEX#2D640D
RGBrgb(45, 100, 13)
HSLhsl(98, 77%, 22%)
HSVhsv(98, 87%, 39%)
CMYKcmyk(55%, 0%, 87%, 60.8%)
CIE-LABlab(37.30, -33.90, 39.55)
CIE-LCHlch(37.30, 52.09, 130.60°)
OKLaboklab(44.83% -0.0942 0.0872)
OKLCHoklch(44.83% 0.128 137.2)
XYZxyz(5.7118, 9.7009, 1.9522)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D640D #440D64
analogous
#59640D #2D640D #0D6419
triadic
#2D640D #0D2D64 #640D2D
tetradic
#2D640D #0D5964 #440D64 #64190D
square
#2D640D #0D5964 #440D64 #64190D
split-complementary
#2D640D #190D64 #640D59
monochromatic
#0C1B04 #152E06 #2D640D #459A14 #5ED01B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D640D#FFFFFF#000000##FFFFFF
##2D640D1.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: #2d640d;
/* rgb */ color: rgb(45, 100, 13);
/* oklch */ color: oklch(44.8% 0.128 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d9155',
    500: '#2d640d',
    950: '#000000',
  },
}
SCSS
$custom: #2d640d;
$custom-light: #6d9155;
$custom-dark: #000000;
JSON
{
  "hex": "#2d640d",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 13
  },
  "hsl": {
    "h": 97.931,
    "s": 76.991,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.12831,
    "h": 137.2
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#2D640D
secondary
#752F9E
accent
#34F4AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2D640D

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

Preview Lab → · Contrast checker → · Palette generator →

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