#2A3D09#2A3D09

#2A3D09 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.078 H 128.0°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2A3D09
RGBrgb(42, 61, 9)
HSLhsl(82, 74%, 14%)
HSVhsv(82, 85%, 24%)
CMYKcmyk(31.1%, 0%, 85.2%, 76.1%)
CIE-LABlab(23.17, -16.77, 27.63)
CIE-LCHlch(23.17, 32.33, 121.26°)
OKLaboklab(33.2% -0.0481 0.0616)
OKLCHoklch(33.2% 0.078 128)
XYZxyz(2.6729, 3.8494, 0.8606)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D09 #1C093D
analogous
#3D3609 #2A3D09 #103D09
triadic
#2A3D09 #092A3D #3D092A
tetradic
#2A3D09 #093D36 #1C093D #3D0910
square
#2A3D09 #093D36 #1C093D #3D0910
split-complementary
#2A3D09 #09103D #36093D
monochromatic
#121B04 #121B04 #2A3D09 #4F7211 #73A819

Accessibility & contrast

On white

11.87
#2A3D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3D09
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D09#FFFFFF#000000##FFFFFF
##2A3D091.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413802
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#2C3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d09;
/* rgb */ color: rgb(42, 61, 9);
/* oklch */ color: oklch(33.2% 0.078 128.0);
Tailwind
colors: {
  custom: {
    50: '#66724d',
    500: '#2a3d09',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d09;
$custom-light: #66724d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d09",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 81.923,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.07818,
    "h": 128
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#2A3D09
secondary
#46277B
accent
#37F17B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3D09

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

Preview Lab → · Contrast checker → · Palette generator →

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