#2A3A07#2A3A07

#2A3A07 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.075 H 125.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2A3A07
RGBrgb(42, 58, 7)
HSLhsl(79, 78%, 13%)
HSVhsv(79, 88%, 23%)
CMYKcmyk(27.6%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.07, -15.25, 27.30)
CIE-LCHlch(22.07, 31.27, 119.19°)
OKLaboklab(32.3% -0.0442 0.0609)
OKLCHoklch(32.3% 0.075 125.9)
XYZxyz(2.5063, 3.5337, 0.7510)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A07 #17073A
analogous
#3A3107 #2A3A07 #103A07
triadic
#2A3A07 #072A3A #3A072A
tetradic
#2A3A07 #073A31 #17073A #3A0710
square
#2A3A07 #073A31 #17073A #3A0710
split-complementary
#2A3A07 #07103A #31073A
monochromatic
#141B03 #141B03 #2A3A07 #52710E #79A714

Accessibility & contrast

On white

12.30
#2A3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A3A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A07
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A07#FFFFFF#000000##FFFFFF
##2A3A071.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3B350C
Tritanopia (blue-blind)
#2C3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a07;
/* rgb */ color: rgb(42, 58, 7);
/* oklch */ color: oklch(32.3% 0.075 125.9);
Tailwind
colors: {
  custom: {
    50: '#66704b',
    500: '#2a3a07',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a07;
$custom-light: #66704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a07",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 78.824,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.07524,
    "h": 125.9
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#2A3A07
secondary
#3E2379
accent
#33F570
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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