#2A480A#2A480A

#2A480A is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.094 H 132.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2A480A
RGBrgb(42, 72, 10)
HSLhsl(89, 76%, 16%)
HSVhsv(89, 86%, 28%)
CMYKcmyk(41.7%, 0%, 86.1%, 71.8%)
CIE-LABlab(27.15, -22.45, 31.10)
CIE-LCHlch(27.15, 38.35, 125.83°)
OKLaboklab(36.45% -0.0634 0.069)
OKLCHoklch(36.45% 0.094 132.6)
XYZxyz(3.3270, 5.1487, 1.1056)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A480A #280A48
analogous
#48470A #2A480A #0B480A
triadic
#2A480A #0A2A48 #480A2A
tetradic
#2A480A #0A4847 #280A48 #480A0B
square
#2A480A #0A4847 #280A48 #480A0B
split-complementary
#2A480A #0A0B48 #470A48
monochromatic
#101B04 #101B04 #2A480A #497E11 #69B319

Accessibility & contrast

On white

10.35
#2A480A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A480A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A480A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A480A#FFFFFF#000000##FFFFFF
##2A480A1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4200
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#2A453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a480a;
/* rgb */ color: rgb(42, 72, 10);
/* oklch */ color: oklch(36.4% 0.094 132.6);
Tailwind
colors: {
  custom: {
    50: '#677b4f',
    500: '#2a480a',
    950: '#000000',
  },
}
SCSS
$custom: #2a480a;
$custom-light: #677b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a480a",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 89.032,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.09368,
    "h": 132.6
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#2A480A
secondary
#552985
accent
#36F291
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A480A

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

Preview Lab → · Contrast checker → · Palette generator →

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