#2A4710#2A4710

#2A4710 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.088 H 133.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2A4710
RGBrgb(42, 71, 16)
HSLhsl(92, 63%, 17%)
HSVhsv(92, 77%, 28%)
CMYKcmyk(40.8%, 0%, 77.5%, 72.2%)
CIE-LABlab(26.84, -21.50, 28.28)
CIE-LCHlch(26.84, 35.53, 127.24°)
OKLaboklab(36.2% -0.0603 0.0641)
OKLCHoklch(36.2% 0.088 133.2)
XYZxyz(3.3016, 5.0360, 1.2882)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4710 #2D1047
analogous
#464710 #2A4710 #104712
triadic
#2A4710 #102A47 #47102A
tetradic
#2A4710 #104647 #2D1047 #471210
square
#2A4710 #104647 #2D1047 #471210
split-complementary
#2A4710 #121047 #471046
monochromatic
#0F1906 #0F1906 #2A4710 #48791B #65AB27

Accessibility & contrast

On white

10.46
#2A4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2A4710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4710
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4710#FFFFFF#000000##FFFFFF
##2A47101.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4108
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#2A443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a4710;
/* rgb */ color: rgb(42, 71, 16);
/* oklch */ color: oklch(36.2% 0.088 133.2);
Tailwind
colors: {
  custom: {
    50: '#667a52',
    500: '#2a4710',
    950: '#000000',
  },
}
SCSS
$custom: #2a4710;
$custom-light: #667a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4710",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 91.636,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36204,
    "c": 0.08803,
    "h": 133.2
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#2A4710
secondary
#5C3281
accent
#42E698
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4710

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

Preview Lab → · Contrast checker → · Palette generator →

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