#2E530C#2E530C

#2E530C is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.106 H 133.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E530C
RGBrgb(46, 83, 12)
HSLhsl(91, 75%, 19%)
HSVhsv(91, 86%, 33%)
CMYKcmyk(44.6%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.33, -26.05, 34.39)
CIE-LCHlch(31.33, 43.14, 127.14°)
OKLaboklab(39.93% -0.0732 0.0761)
OKLCHoklch(39.93% 0.106 133.9)
XYZxyz(4.2863, 6.7937, 1.4332)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E530C #310C53
analogous
#51530C #2E530C #0C530E
triadic
#2E530C #0C2E53 #530C2E
tetradic
#2E530C #0C5153 #310C53 #530E0C
square
#2E530C #0C5153 #310C53 #530E0C
split-complementary
#2E530C #0E0C53 #530C51
monochromatic
#0F1B04 #101E04 #2E530C #4C8814 #69BE1B

Accessibility & contrast

On white

8.90
#2E530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E530C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E530C#FFFFFF#000000##FFFFFF
##2E530C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#2E4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e530c;
/* rgb */ color: rgb(46, 83, 12);
/* oklch */ color: oklch(39.9% 0.106 133.9);
Tailwind
colors: {
  custom: {
    50: '#6b8352',
    500: '#2e530c',
    950: '#000000',
  },
}
SCSS
$custom: #2e530c;
$custom-light: #6b8352;
$custom-dark: #000000;
JSON
{
  "hex": "#2e530c",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 91.268,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.10563,
    "h": 133.9
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#2E530C
secondary
#5F2D8E
accent
#36F198
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E530C

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

Preview Lab → · Contrast checker → · Palette generator →

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