#2A3C07#2A3C07

#2A3C07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.078 H 127.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2A3C07
RGBrgb(42, 60, 7)
HSLhsl(80, 79%, 13%)
HSVhsv(80, 88%, 24%)
CMYKcmyk(30%, 0%, 88.3%, 76.5%)
CIE-LABlab(22.79, -16.37, 28.06)
CIE-LCHlch(22.79, 32.48, 120.25°)
OKLaboklab(32.89% -0.0472 0.0623)
OKLCHoklch(32.89% 0.078 127.1)
XYZxyz(2.6091, 3.7392, 0.7853)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C07 #19073C
analogous
#3C3307 #2A3C07 #103C07
triadic
#2A3C07 #072A3C #3C072A
tetradic
#2A3C07 #073C33 #19073C #3C0710
square
#2A3C07 #073C33 #19073C #3C0710
split-complementary
#2A3C07 #07103C #33073C
monochromatic
#131B03 #131B03 #2A3C07 #50730D #77AA14

Accessibility & contrast

On white

12.02
#2A3C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A3C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C07
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C07#FFFFFF#000000##FFFFFF
##2A3C071.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#2C3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3c07;
/* rgb */ color: rgb(42, 60, 7);
/* oklch */ color: oklch(32.9% 0.078 127.1);
Tailwind
colors: {
  custom: {
    50: '#66714b',
    500: '#2a3c07',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c07;
$custom-light: #66714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c07",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 80.377,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.07819,
    "h": 127.1
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#2A3C07
secondary
#41237B
accent
#32F675
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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