#2A3F05#2A3F05

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

Color values

HEX#2A3F05
RGBrgb(42, 63, 5)
HSLhsl(82, 85%, 13%)
HSVhsv(82, 92%, 25%)
CMYKcmyk(33.3%, 0%, 92.1%, 75.3%)
CIE-LABlab(23.86, -18.14, 29.97)
CIE-LCHlch(23.86, 35.03, 121.19°)
OKLaboklab(33.75% -0.0522 0.0659)
OKLCHoklch(33.75% 0.084 128.4)
XYZxyz(2.7597, 4.0581, 0.7814)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F05 #1A053F
analogous
#3F3705 #2A3F05 #0D3F05
triadic
#2A3F05 #052A3F #3F052A
tetradic
#2A3F05 #053F37 #1A053F #3F050D
square
#2A3F05 #053F37 #1A053F #3F050D
split-complementary
#2A3F05 #050D3F #37053F
monochromatic
#131C02 #131C02 #2A3F05 #507809 #76B00E

Accessibility & contrast

On white

11.59
#2A3F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3F05
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F05#FFFFFF#000000##FFFFFF
##2A3F051.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40380B
Tritanopia (blue-blind)
#2C3C34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f05;
/* rgb */ color: rgb(42, 63, 5);
/* oklch */ color: oklch(33.8% 0.084 128.4);
Tailwind
colors: {
  custom: {
    50: '#66744b',
    500: '#2a3f05',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f05;
$custom-light: #66744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f05",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 81.724,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.08406,
    "h": 128.4
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#2A3F05
secondary
#432080
accent
#2CFC77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3F05

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

Preview Lab → · Contrast checker → · Palette generator →

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