#2B640E#2B640E

#2B640E is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.7% C 0.129 H 137.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B640E
RGBrgb(43, 100, 14)
HSLhsl(100, 75%, 22%)
HSVhsv(100, 86%, 39%)
CMYKcmyk(57%, 0%, 86%, 60.8%)
CIE-LABlab(37.22, -34.48, 39.15)
CIE-LCHlch(37.22, 52.16, 131.37°)
OKLaboklab(44.74% -0.0955 0.0865)
OKLCHoklch(44.74% 0.129 137.8)
XYZxyz(5.6325, 9.6592, 1.9830)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B640E #470E64
analogous
#56640E #2B640E #0E641C
triadic
#2B640E #0E2B64 #640E2B
tetradic
#2B640E #0E5664 #470E64 #641C0E
square
#2B640E #0E5664 #470E64 #641C0E
split-complementary
#2B640E #1C0E64 #640E56
monochromatic
#0C1B04 #142E06 #2B640E #429A16 #59CF1D

Accessibility & contrast

On white

7.16
#2B640E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B640E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B640E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B640E#FFFFFF#000000##FFFFFF
##2B640E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#266054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b640e;
/* rgb */ color: rgb(43, 100, 14);
/* oklch */ color: oklch(44.7% 0.129 137.8);
Tailwind
colors: {
  custom: {
    50: '#6c9155',
    500: '#2b640e',
    950: '#000000',
  },
}
SCSS
$custom: #2b640e;
$custom-light: #6c9155;
$custom-dark: #000000;
JSON
{
  "hex": "#2b640e",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 14
  },
  "hsl": {
    "h": 99.767,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44743,
    "c": 0.12887,
    "h": 137.8
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#2B640E
secondary
#79319D
accent
#36F2B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2B640E

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

Preview Lab → · Contrast checker → · Palette generator →

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