#2A3F06#2A3F06

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

Color values

HEX#2A3F06
RGBrgb(42, 63, 6)
HSLhsl(82, 83%, 14%)
HSVhsv(82, 90%, 25%)
CMYKcmyk(33.3%, 0%, 90.5%, 75.3%)
CIE-LABlab(23.87, -18.07, 29.56)
CIE-LCHlch(23.87, 34.65, 121.44°)
OKLaboklab(33.76% -0.0519 0.0652)
OKLCHoklch(33.76% 0.083 128.6)
XYZxyz(2.7652, 4.0603, 0.8103)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F06 #1B063F
analogous
#3F3706 #2A3F06 #0D3F06
triadic
#2A3F06 #062A3F #3F062A
tetradic
#2A3F06 #063F37 #1B063F #3F060D
square
#2A3F06 #063F37 #1B063F #3F060D
split-complementary
#2A3F06 #060D3F #37063F
monochromatic
#131C03 #131C03 #2A3F06 #4F770B #75AF11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3F06#FFFFFF#000000##FFFFFF
##2A3F061.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)
#40380C
Tritanopia (blue-blind)
#2C3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f06;
/* rgb */ color: rgb(42, 63, 6);
/* oklch */ color: oklch(33.8% 0.083 128.6);
Tailwind
colors: {
  custom: {
    50: '#66744b',
    500: '#2a3f06',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f06;
$custom-light: #66744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f06",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 82.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.08332,
    "h": 128.6
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#2A3F06
secondary
#44227F
accent
#2FF979
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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