#2F480D#2F480D

#2F480D is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.089 H 130.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2F480D
RGBrgb(47, 72, 13)
HSLhsl(85, 69%, 17%)
HSVhsv(85, 82%, 28%)
CMYKcmyk(34.7%, 0%, 81.9%, 71.8%)
CIE-LABlab(27.48, -20.11, 30.35)
CIE-LCHlch(27.48, 36.40, 123.53°)
OKLaboklab(36.81% -0.0572 0.0678)
OKLCHoklch(36.81% 0.089 130.1)
XYZxyz(3.5623, 5.2680, 1.2098)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F480D #260D48
analogous
#48440D #2F480D #11480D
triadic
#2F480D #0D2F48 #480D2F
tetradic
#2F480D #0D4844 #260D48 #480D11
square
#2F480D #0D4844 #260D48 #480D11
split-complementary
#2F480D #0D1148 #440D48
monochromatic
#111A05 #111A05 #2F480D #517C16 #73B020

Accessibility & contrast

On white

10.23
#2F480D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F480D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F480D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F480D#FFFFFF#000000##FFFFFF
##2F480D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4203
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#30453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f480d;
/* rgb */ color: rgb(47, 72, 13);
/* oklch */ color: oklch(36.8% 0.089 130.1);
Tailwind
colors: {
  custom: {
    50: '#6a7b50',
    500: '#2f480d',
    950: '#000000',
  },
}
SCSS
$custom: #2f480d;
$custom-light: #6a7b50;
$custom-dark: #000000;
JSON
{
  "hex": "#2f480d",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 13
  },
  "hsl": {
    "h": 85.424,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.08869,
    "h": 130.1
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#2F480D
secondary
#522D83
accent
#3CEC86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F480D

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

Preview Lab → · Contrast checker → · Palette generator →

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