#2A3D0D#2A3D0D

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

Color values

HEX#2A3D0D
RGBrgb(42, 61, 13)
HSLhsl(84, 65%, 15%)
HSVhsv(84, 79%, 24%)
CMYKcmyk(31.1%, 0%, 78.7%, 76.1%)
CIE-LABlab(23.20, -16.47, 25.93)
CIE-LCHlch(23.20, 30.72, 122.42°)
OKLaboklab(33.23% -0.0469 0.0587)
OKLCHoklch(33.23% 0.075 128.6)
XYZxyz(2.6962, 3.8587, 0.9834)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D0D #200D3D
analogous
#3D380D #2A3D0D #123D0D
triadic
#2A3D0D #0D2A3D #3D0D2A
tetradic
#2A3D0D #0D3D38 #200D3D #3D0D12
square
#2A3D0D #0D3D38 #200D3D #3D0D12
split-complementary
#2A3D0D #0D123D #380D3D
monochromatic
#111905 #111905 #2A3D0D #4D6F18 #6FA223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3D0D#FFFFFF#000000##FFFFFF
##2A3D0D1.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)
#403806
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#2C3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d0d;
/* rgb */ color: rgb(42, 61, 13);
/* oklch */ color: oklch(33.2% 0.075 128.6);
Tailwind
colors: {
  custom: {
    50: '#65724f',
    500: '#2a3d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d0d;
$custom-light: #65724f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d0d",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 83.75,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33233,
    "c": 0.0751,
    "h": 128.6
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#2A3D0D
secondary
#4B2D79
accent
#40E882
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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