#2A3E07#2A3E07

#2A3E07 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.081 H 128.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2A3E07
RGBrgb(42, 62, 7)
HSLhsl(82, 80%, 14%)
HSVhsv(82, 89%, 24%)
CMYKcmyk(32.3%, 0%, 88.7%, 75.7%)
CIE-LABlab(23.51, -17.46, 28.80)
CIE-LCHlch(23.51, 33.68, 121.23°)
OKLaboklab(33.48% -0.0502 0.0638)
OKLCHoklch(33.48% 0.081 128.2)
XYZxyz(2.7158, 3.9528, 0.8208)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E07 #1B073E
analogous
#3E3607 #2A3E07 #0E3E07
triadic
#2A3E07 #072A3E #3E072A
tetradic
#2A3E07 #073E36 #1B073E #3E070E
square
#2A3E07 #073E36 #1B073E #3E070E
split-complementary
#2A3E07 #070E3E #36073E
monochromatic
#131B03 #131B03 #2A3E07 #4F750D #75AC13

Accessibility & contrast

On white

11.73
#2A3E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A3E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E07
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E07#FFFFFF#000000##FFFFFF
##2A3E071.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#2C3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e07;
/* rgb */ color: rgb(42, 62, 7);
/* oklch */ color: oklch(33.5% 0.081 128.2);
Tailwind
colors: {
  custom: {
    50: '#66734c',
    500: '#2a3e07',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e07;
$custom-light: #66734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e07",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 81.818,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33475,
    "c": 0.08113,
    "h": 128.2
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#2A3E07
secondary
#44247D
accent
#32F679
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3E07

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

Preview Lab → · Contrast checker → · Palette generator →

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