#2A3E11#2A3E11

#2A3E11 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.073 H 130.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2A3E11
RGBrgb(42, 62, 17)
HSLhsl(87, 57%, 15%)
HSVhsv(87, 73%, 24%)
CMYKcmyk(32.3%, 0%, 72.6%, 75.7%)
CIE-LABlab(23.60, -16.65, 24.37)
CIE-LCHlch(23.60, 29.52, 124.35°)
OKLaboklab(33.57% -0.047 0.056)
OKLCHoklch(33.57% 0.073 130)
XYZxyz(2.7786, 3.9779, 1.1516)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E11 #25113E
analogous
#3E3B11 #2A3E11 #133E11
triadic
#2A3E11 #112A3E #3E112A
tetradic
#2A3E11 #113E3B #25113E #3E1113
square
#2A3E11 #113E3B #25113E #3E1113
split-complementary
#2A3E11 #11133E #3B113E
monochromatic
#101807 #101807 #2A3E11 #4B6E1E #6B9E2B

Accessibility & contrast

On white

11.70
#2A3E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A3E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E11
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E11#FFFFFF#000000##FFFFFF
##2A3E111.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390B
Deuteranopia (green-blind)
#3E3814
Tritanopia (blue-blind)
#2B3B35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e11;
/* rgb */ color: rgb(42, 62, 17);
/* oklch */ color: oklch(33.6% 0.073 130.0);
Tailwind
colors: {
  custom: {
    50: '#657351',
    500: '#2a3e11',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e11;
$custom-light: #657351;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e11",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 17
  },
  "hsl": {
    "h": 86.667,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.07311,
    "h": 130
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#2A3E11
secondary
#523377
accent
#48E08B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3E11

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

Preview Lab → · Contrast checker → · Palette generator →

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