#2C510E#2C510E

#2C510E is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.2% C 0.103 H 134.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C510E
RGBrgb(44, 81, 14)
HSLhsl(93, 71%, 19%)
HSVhsv(93, 83%, 32%)
CMYKcmyk(45.7%, 0%, 82.7%, 68.2%)
CIE-LABlab(30.52, -25.75, 32.84)
CIE-LCHlch(30.52, 41.74, 128.10°)
OKLaboklab(39.25% -0.0721 0.0733)
OKLCHoklch(39.25% 0.103 134.5)
XYZxyz(4.0603, 6.4518, 1.4468)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C510E #330E51
analogous
#4D510E #2C510E #0E5111
triadic
#2C510E #0E2C51 #510E2C
tetradic
#2C510E #0E4D51 #330E51 #51110E
square
#2C510E #0E4D51 #330E51 #51110E
split-complementary
#2C510E #110E51 #510E4D
monochromatic
#0E1A05 #101D05 #2C510E #488517 #65B920

Accessibility & contrast

On white

9.17
#2C510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C510E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C510E#FFFFFF#000000##FFFFFF
##2C510E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A02
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#2B4E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c510e;
/* rgb */ color: rgb(44, 81, 14);
/* oklch */ color: oklch(39.2% 0.103 134.5);
Tailwind
colors: {
  custom: {
    50: '#698252',
    500: '#2c510e',
    950: '#000000',
  },
}
SCSS
$custom: #2c510e;
$custom-light: #698252;
$custom-dark: #000000;
JSON
{
  "hex": "#2c510e",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 93.134,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.10282,
    "h": 134.5
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#2C510E
secondary
#622F8C
accent
#3AED9D
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2C510E

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

Preview Lab → · Contrast checker → · Palette generator →

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