#2C480F#2C480F

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

Color values

HEX#2C480F
RGBrgb(44, 72, 15)
HSLhsl(89, 66%, 17%)
HSVhsv(89, 79%, 28%)
CMYKcmyk(38.9%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.31, -21.25, 29.25)
CIE-LCHlch(27.31, 36.16, 126.00°)
OKLaboklab(36.62% -0.0599 0.0659)
OKLCHoklch(36.62% 0.089 132.2)
XYZxyz(3.4423, 5.2046, 1.2751)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C480F #2B0F48
analogous
#48480F #2C480F #0F480F
triadic
#2C480F #0F2C48 #480F2C
tetradic
#2C480F #0F4848 #2B0F48 #480F0F
square
#2C480F #0F4848 #2B0F48 #480F0F
split-complementary
#2C480F #0F0F48 #480F48
monochromatic
#0F1905 #0F1905 #2C480F #4B7B1A #6AAD24

Accessibility & contrast

On white

10.29
#2C480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C480F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C480F#FFFFFF#000000##FFFFFF
##2C480F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4206
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#2D453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c480f;
/* rgb */ color: rgb(44, 72, 15);
/* oklch */ color: oklch(36.6% 0.089 132.2);
Tailwind
colors: {
  custom: {
    50: '#687b51',
    500: '#2c480f',
    950: '#000000',
  },
}
SCSS
$custom: #2c480f;
$custom-light: #687b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c480f",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 89.474,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3662,
    "c": 0.08907,
    "h": 132.2
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#2C480F
secondary
#593082
accent
#3FE892
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C480F

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

Preview Lab → · Contrast checker → · Palette generator →

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