#2A3F09#2A3F09

#2A3F09 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.081 H 129.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2A3F09
RGBrgb(42, 63, 9)
HSLhsl(83, 75%, 14%)
HSVhsv(83, 86%, 25%)
CMYKcmyk(33.3%, 0%, 85.7%, 75.3%)
CIE-LABlab(23.89, -17.86, 28.36)
CIE-LCHlch(23.89, 33.52, 122.20°)
OKLaboklab(33.79% -0.0511 0.0631)
OKLCHoklch(33.79% 0.081 129)
XYZxyz(2.7817, 4.0669, 0.8968)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F09 #1E093F
analogous
#3F3909 #2A3F09 #0F3F09
triadic
#2A3F09 #092A3F #3F092A
tetradic
#2A3F09 #093F39 #1E093F #3F090F
square
#2A3F09 #093F39 #1E093F #3F090F
split-complementary
#2A3F09 #090F3F #39093F
monochromatic
#121B04 #121B04 #2A3F09 #4E7511 #71AA18

Accessibility & contrast

On white

11.58
#2A3F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A3F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F09
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F09#FFFFFF#000000##FFFFFF
##2A3F091.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A01
Deuteranopia (green-blind)
#40380E
Tritanopia (blue-blind)
#2C3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f09;
/* rgb */ color: rgb(42, 63, 9);
/* oklch */ color: oklch(33.8% 0.081 129.0);
Tailwind
colors: {
  custom: {
    50: '#66744d',
    500: '#2a3f09',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f09;
$custom-light: #66744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f09",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 83.333,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33786,
    "c": 0.08116,
    "h": 129
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#2A3F09
secondary
#48277D
accent
#36F27F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3F09

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

Preview Lab → · Contrast checker → · Palette generator →

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