#2A3D0F#2A3D0F

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

Color values

HEX#2A3D0F
RGBrgb(42, 61, 15)
HSLhsl(85, 61%, 15%)
HSVhsv(85, 75%, 24%)
CMYKcmyk(31.1%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.22, -16.29, 24.98)
CIE-LCHlch(23.22, 29.82, 123.12°)
OKLaboklab(33.25% -0.0462 0.057)
OKLCHoklch(33.25% 0.073 129)
XYZxyz(2.7098, 3.8642, 1.0549)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D0F #220F3D
analogous
#3D390F #2A3D0F #133D0F
triadic
#2A3D0F #0F2A3D #3D0F2A
tetradic
#2A3D0F #0F3D39 #220F3D #3D0F13
square
#2A3D0F #0F3D39 #220F3D #3D0F13
split-complementary
#2A3D0F #0F133D #390F3D
monochromatic
#111906 #111906 #2A3D0F #4C6E1B #6E9F27

Accessibility & contrast

On white

11.85
#2A3D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3D0F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D0F#FFFFFF#000000##FFFFFF
##2A3D0F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#2B3A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d0f;
/* rgb */ color: rgb(42, 61, 15);
/* oklch */ color: oklch(33.3% 0.073 129.0);
Tailwind
colors: {
  custom: {
    50: '#657250',
    500: '#2a3d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d0f;
$custom-light: #657250;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d0f",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 84.783,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.07337,
    "h": 129
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#2A3D0F
secondary
#4E3077
accent
#44E486
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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