#2A3B0A#2A3B0A

#2A3B0A is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.074 H 127.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2A3B0A
RGBrgb(42, 59, 10)
HSLhsl(81, 71%, 14%)
HSVhsv(81, 83%, 23%)
CMYKcmyk(28.8%, 0%, 83.1%, 76.9%)
CIE-LABlab(22.45, -15.59, 26.49)
CIE-LCHlch(22.45, 30.74, 120.49°)
OKLaboklab(32.62% -0.0448 0.0594)
OKLCHoklch(32.62% 0.074 127)
XYZxyz(2.5736, 3.6420, 0.8545)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B0A #1B0A3B
analogous
#3B330A #2A3B0A #113B0A
triadic
#2A3B0A #0A2A3B #3B0A2A
tetradic
#2A3B0A #0A3B33 #1B0A3B #3B0A11
square
#2A3B0A #0A3B33 #1B0A3B #3B0A11
split-complementary
#2A3B0A #0A113B #330A3B
monochromatic
#131A04 #131A04 #2A3B0A #4F6F13 #75A41C

Accessibility & contrast

On white

12.15
#2A3B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B0A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B0A#FFFFFF#000000##FFFFFF
##2A3B0A1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3603
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#2C3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b0a;
/* rgb */ color: rgb(42, 59, 10);
/* oklch */ color: oklch(32.6% 0.074 127.0);
Tailwind
colors: {
  custom: {
    50: '#66714d',
    500: '#2a3b0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b0a;
$custom-light: #66714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b0a",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 80.816,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.07441,
    "h": 127
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#2A3B0A
secondary
#442878
accent
#3AEE78
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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