#2A3F0D#2A3F0D

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

Color values

HEX#2A3F0D
RGBrgb(42, 63, 13)
HSLhsl(85, 66%, 15%)
HSVhsv(85, 79%, 25%)
CMYKcmyk(33.3%, 0%, 79.4%, 75.3%)
CIE-LABlab(23.92, -17.56, 26.67)
CIE-LCHlch(23.92, 31.94, 123.36°)
OKLaboklab(33.82% -0.0499 0.0602)
OKLCHoklch(33.82% 0.078 129.6)
XYZxyz(2.8050, 4.0762, 1.0197)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F0D #220D3F
analogous
#3F3B0D #2A3F0D #113F0D
triadic
#2A3F0D #0D2A3F #3F0D2A
tetradic
#2A3F0D #0D3F3B #220D3F #3F0D11
square
#2A3F0D #0D3F3B #220D3F #3F0D11
split-complementary
#2A3F0D #0D113F #3B0D3F
monochromatic
#111905 #111905 #2A3F0D #4C7217 #6EA422

Accessibility & contrast

On white

11.57
#2A3F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A3F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F0D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F0D#FFFFFF#000000##FFFFFF
##2A3F0D1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#2B3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f0d;
/* rgb */ color: rgb(42, 63, 13);
/* oklch */ color: oklch(33.8% 0.078 129.6);
Tailwind
colors: {
  custom: {
    50: '#66744f',
    500: '#2a3f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f0d;
$custom-light: #66744f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f0d",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 85.2,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.0782,
    "h": 129.6
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#2A3F0D
secondary
#4E2D7B
accent
#3FE986
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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