#2F280D#2F280D

#2F280D is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.043 H 94.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#2F280D
RGBrgb(47, 40, 13)
HSLhsl(48, 57%, 12%)
HSVhsv(48, 72%, 18%)
CMYKcmyk(0%, 14.9%, 72.3%, 81.6%)
CIE-LABlab(16.26, -0.93, 18.16)
CIE-LCHlch(16.26, 18.19, 92.93°)
OKLaboklab(27.78% -0.0037 0.043)
OKLCHoklch(27.78% 0.043 94.9)
XYZxyz(2.0038, 2.1511, 0.6903)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F280D #0D142F
analogous
#2F170D #2F280D #252F0D
triadic
#2F280D #0D2F28 #280D2F
tetradic
#2F280D #0D2F17 #0D142F #2F0D25
square
#2F280D #0D2F17 #0D142F #2F0D25
split-complementary
#2F280D #0D252F #170D2F
monochromatic
#181407 #181407 #2F280D #5F511A #8F7A28

Accessibility & contrast

On white

14.68
#2F280D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F280D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F280D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F280D#FFFFFF#000000##FFFFFF
##2F280D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270A
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#332522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f280d;
/* rgb */ color: rgb(47, 40, 13);
/* oklch */ color: oklch(27.8% 0.043 94.9);
Tailwind
colors: {
  custom: {
    50: '#69614d',
    500: '#2f280d',
    950: '#000000',
  },
}
SCSS
$custom: #2f280d;
$custom-light: #69614d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f280d",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 13
  },
  "hsl": {
    "h": 47.647,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27781,
    "c": 0.0432,
    "h": 94.9
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#2F280D
secondary
#2E3A6A
accent
#67E048
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F280D

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

Preview Lab → · Contrast checker → · Palette generator →

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