#2C480A#2C480A

#2C480A is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.092 H 131.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2C480A
RGBrgb(44, 72, 10)
HSLhsl(87, 76%, 16%)
HSVhsv(87, 86%, 28%)
CMYKcmyk(38.9%, 0%, 86.1%, 71.8%)
CIE-LABlab(27.27, -21.61, 31.25)
CIE-LCHlch(27.27, 38.00, 124.66°)
OKLaboklab(36.58% -0.0613 0.0692)
OKLCHoklch(36.58% 0.092 131.5)
XYZxyz(3.4108, 5.1920, 1.1095)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C480A #260A48
analogous
#48450A #2C480A #0D480A
triadic
#2C480A #0A2C48 #480A2C
tetradic
#2C480A #0A4845 #260A48 #480A0D
square
#2C480A #0A4845 #260A48 #480A0D
split-complementary
#2C480A #0A0D48 #450A48
monochromatic
#101B04 #101B04 #2C480A #4D7E11 #6EB319

Accessibility & contrast

On white

10.30
#2C480A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C480A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C480A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C480A#FFFFFF#000000##FFFFFF
##2C480A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#484011
Tritanopia (blue-blind)
#2D453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c480a;
/* rgb */ color: rgb(44, 72, 10);
/* oklch */ color: oklch(36.6% 0.092 131.5);
Tailwind
colors: {
  custom: {
    50: '#687b4f',
    500: '#2c480a',
    950: '#000000',
  },
}
SCSS
$custom: #2c480a;
$custom-light: #687b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c480a",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 87.097,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3658,
    "c": 0.09245,
    "h": 131.5
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#2C480A
secondary
#522985
accent
#36F28B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C480A

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

Preview Lab → · Contrast checker → · Palette generator →

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