#2A3D07#2A3D07

#2A3D07 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.080 H 127.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2A3D07
RGBrgb(42, 61, 7)
HSLhsl(81, 79%, 13%)
HSVhsv(81, 89%, 24%)
CMYKcmyk(31.1%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.15, -16.92, 28.43)
CIE-LCHlch(23.15, 33.09, 120.75°)
OKLaboklab(33.18% -0.0487 0.0631)
OKLCHoklch(33.18% 0.08 127.7)
XYZxyz(2.6619, 3.8450, 0.8029)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D07 #1A073D
analogous
#3D3507 #2A3D07 #0F3D07
triadic
#2A3D07 #072A3D #3D072A
tetradic
#2A3D07 #073D35 #1A073D #3D070F
square
#2A3D07 #073D35 #1A073D #3D070F
split-complementary
#2A3D07 #070F3D #35073D
monochromatic
#131B03 #131B03 #2A3D07 #50740D #76AB14

Accessibility & contrast

On white

11.87
#2A3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D07
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D07#FFFFFF#000000##FFFFFF
##2A3D071.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#2C3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d07;
/* rgb */ color: rgb(42, 61, 7);
/* oklch */ color: oklch(33.2% 0.080 127.7);
Tailwind
colors: {
  custom: {
    50: '#66724c',
    500: '#2a3d07',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d07;
$custom-light: #66724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d07",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 81.111,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.07967,
    "h": 127.7
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#2A3D07
secondary
#43237C
accent
#32F677
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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