#2D640F#2D640F

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

Color values

HEX#2D640F
RGBrgb(45, 100, 15)
HSLhsl(99, 74%, 23%)
HSVhsv(99, 85%, 39%)
CMYKcmyk(55%, 0%, 85%, 60.8%)
CIE-LABlab(37.31, -33.78, 38.94)
CIE-LCHlch(37.31, 51.55, 130.95°)
OKLaboklab(44.84% -0.0937 0.0862)
OKLCHoklch(44.84% 0.127 137.4)
XYZxyz(5.7254, 9.7063, 2.0236)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D640F #460F64
analogous
#57640F #2D640F #0F641C
triadic
#2D640F #0F2D64 #640F2D
tetradic
#2D640F #0F5764 #460F64 #641C0F
square
#2D640F #0F5764 #460F64 #641C0F
split-complementary
#2D640F #1C0F64 #640F57
monochromatic
#0C1B04 #152F07 #2D640F #459917 #5DCE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D640F#FFFFFF#000000##FFFFFF
##2D640F1.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)
#605619
Tritanopia (blue-blind)
#296054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d640f;
/* rgb */ color: rgb(45, 100, 15);
/* oklch */ color: oklch(44.8% 0.127 137.4);
Tailwind
colors: {
  custom: {
    50: '#6d9156',
    500: '#2d640f',
    950: '#000000',
  },
}
SCSS
$custom: #2d640f;
$custom-light: #6d9156;
$custom-dark: #000000;
JSON
{
  "hex": "#2d640f",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 98.824,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.12734,
    "h": 137.4
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#2D640F
secondary
#77329D
accent
#37F1AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2D640F

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

Preview Lab → · Contrast checker → · Palette generator →

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