#2A3E09#2A3E09

#2A3E09 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.080 H 128.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2A3E09
RGBrgb(42, 62, 9)
HSLhsl(83, 75%, 14%)
HSVhsv(83, 85%, 24%)
CMYKcmyk(32.3%, 0%, 85.5%, 75.7%)
CIE-LABlab(23.53, -17.32, 28.00)
CIE-LCHlch(23.53, 32.93, 121.74°)
OKLaboklab(33.49% -0.0496 0.0624)
OKLCHoklch(33.49% 0.08 128.5)
XYZxyz(2.7268, 3.9571, 0.8785)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E09 #1D093E
analogous
#3E3809 #2A3E09 #103E09
triadic
#2A3E09 #092A3E #3E092A
tetradic
#2A3E09 #093E38 #1D093E #3E0910
square
#2A3E09 #093E38 #1D093E #3E0910
split-complementary
#2A3E09 #09103E #38093E
monochromatic
#121B04 #121B04 #2A3E09 #4E7311 #72A919

Accessibility & contrast

On white

11.72
#2A3E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A3E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E09
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E09#FFFFFF#000000##FFFFFF
##2A3E091.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423902
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#2C3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e09;
/* rgb */ color: rgb(42, 62, 9);
/* oklch */ color: oklch(33.5% 0.080 128.5);
Tailwind
colors: {
  custom: {
    50: '#66734d',
    500: '#2a3e09',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e09;
$custom-light: #66734d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e09",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 9
  },
  "hsl": {
    "h": 82.642,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.07967,
    "h": 128.5
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#2A3E09
secondary
#47277C
accent
#37F17D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3E09

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

Preview Lab → · Contrast checker → · Palette generator →

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