#2A3D11#2A3D11

#2A3D11 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.071 H 129.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2A3D11
RGBrgb(42, 61, 17)
HSLhsl(86, 56%, 15%)
HSVhsv(86, 72%, 24%)
CMYKcmyk(31.1%, 0%, 72.1%, 76.1%)
CIE-LABlab(23.24, -16.10, 23.98)
CIE-LCHlch(23.24, 28.88, 123.88°)
OKLaboklab(33.28% -0.0454 0.0552)
OKLCHoklch(33.28% 0.072 129.5)
XYZxyz(2.7247, 3.8701, 1.1337)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D11 #24113D
analogous
#3D3A11 #2A3D11 #143D11
triadic
#2A3D11 #112A3D #3D112A
tetradic
#2A3D11 #113D3A #24113D #3D1114
square
#2A3D11 #113D3A #24113D #3D1114
split-complementary
#2A3D11 #11143D #3A113D
monochromatic
#101807 #101807 #2A3D11 #4B6D1E #6C9D2C

Accessibility & contrast

On white

11.84
#2A3D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D11
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D11#FFFFFF#000000##FFFFFF
##2A3D111.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380C
Deuteranopia (green-blind)
#3D3714
Tritanopia (blue-blind)
#2B3A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d11;
/* rgb */ color: rgb(42, 61, 17);
/* oklch */ color: oklch(33.3% 0.071 129.5);
Tailwind
colors: {
  custom: {
    50: '#657251',
    500: '#2a3d11',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d11;
$custom-light: #657251;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d11",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 17
  },
  "hsl": {
    "h": 85.909,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33277,
    "c": 0.0715,
    "h": 129.5
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#2A3D11
secondary
#503376
accent
#48E08A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D11

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

Preview Lab → · Contrast checker → · Palette generator →

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