#2C5F10#2C5F10

#2C5F10 is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.3% C 0.121 H 137.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C5F10
RGBrgb(44, 95, 16)
HSLhsl(99, 71%, 22%)
HSVhsv(99, 83%, 37%)
CMYKcmyk(53.7%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.51, -31.93, 36.89)
CIE-LCHlch(35.51, 48.79, 130.87°)
OKLaboklab(43.35% -0.0886 0.0821)
OKLCHoklch(43.35% 0.121 137.2)
XYZxyz(5.2243, 8.7569, 1.9051)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F10 #43105F
analogous
#545F10 #2C5F10 #105F1C
triadic
#2C5F10 #102C5F #5F102C
tetradic
#2C5F10 #10545F #43105F #5F1C10
square
#2C5F10 #10545F #43105F #5F1C10
split-complementary
#2C5F10 #1C105F #5F1054
monochromatic
#0C1A04 #142B07 #2C5F10 #449319 #5DC822

Accessibility & contrast

On white

7.63
#2C5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5F10
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F10#FFFFFF#000000##FFFFFF
##2C5F101.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5f10;
/* rgb */ color: rgb(44, 95, 16);
/* oklch */ color: oklch(43.3% 0.121 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8d55',
    500: '#2c5f10',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f10;
$custom-light: #6b8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f10",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 98.734,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43347,
    "c": 0.1208,
    "h": 137.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#2C5F10
secondary
#743398
accent
#3AEEAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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