#2A480F#2A480F

#2A480F is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.5% C 0.090 H 133.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2A480F
RGBrgb(42, 72, 15)
HSLhsl(92, 66%, 17%)
HSVhsv(92, 79%, 28%)
CMYKcmyk(41.7%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.19, -22.09, 29.09)
CIE-LCHlch(27.19, 36.53, 127.21°)
OKLaboklab(36.49% -0.062 0.0657)
OKLCHoklch(36.49% 0.09 133.4)
XYZxyz(3.3584, 5.1613, 1.2711)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A480F #2D0F48
analogous
#47480F #2A480F #0F4811
triadic
#2A480F #0F2A48 #480F2A
tetradic
#2A480F #0F4748 #2D0F48 #48110F
square
#2A480F #0F4748 #2D0F48 #48110F
split-complementary
#2A480F #110F48 #480F47
monochromatic
#0F1905 #0F1905 #2A480F #487B1A #65AD24

Accessibility & contrast

On white

10.33
#2A480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A480F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A480F#FFFFFF#000000##FFFFFF
##2A480F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4206
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#2A453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a480f;
/* rgb */ color: rgb(42, 72, 15);
/* oklch */ color: oklch(36.5% 0.090 133.4);
Tailwind
colors: {
  custom: {
    50: '#677b51',
    500: '#2a480f',
    950: '#000000',
  },
}
SCSS
$custom: #2a480f;
$custom-light: #677b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a480f",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 91.579,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36489,
    "c": 0.0903,
    "h": 133.4
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#2A480F
secondary
#5C3082
accent
#3FE898
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A480F

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

Preview Lab → · Contrast checker → · Palette generator →

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