#2A3B07#2A3B07

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

Color values

HEX#2A3B07
RGBrgb(42, 59, 7)
HSLhsl(80, 79%, 13%)
HSVhsv(80, 88%, 23%)
CMYKcmyk(28.8%, 0%, 88.1%, 76.9%)
CIE-LABlab(22.43, -15.81, 27.68)
CIE-LCHlch(22.43, 31.88, 119.74°)
OKLaboklab(32.59% -0.0457 0.0616)
OKLCHoklch(32.59% 0.077 126.6)
XYZxyz(2.5572, 3.6355, 0.7680)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B07 #18073B
analogous
#3B3207 #2A3B07 #103B07
triadic
#2A3B07 #072A3B #3B072A
tetradic
#2A3B07 #073B32 #18073B #3B0710
square
#2A3B07 #073B32 #18073B #3B0710
split-complementary
#2A3B07 #07103B #32073B
monochromatic
#131B03 #131B03 #2A3B07 #51720D #78A814

Accessibility & contrast

On white

12.16
#2A3B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3B07
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B07#FFFFFF#000000##FFFFFF
##2A3B071.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3b07;
/* rgb */ color: rgb(42, 59, 7);
/* oklch */ color: oklch(32.6% 0.077 126.6);
Tailwind
colors: {
  custom: {
    50: '#66714b',
    500: '#2a3b07',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b07;
$custom-light: #66714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b07",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 79.615,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.07673,
    "h": 126.6
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#2A3B07
secondary
#40237A
accent
#33F572
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B07

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

Preview Lab → · Contrast checker → · Palette generator →

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