#2F280A#2F280A

#2F280A is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.046 H 96.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#2F280A
RGBrgb(47, 40, 10)
HSLhsl(49, 65%, 11%)
HSVhsv(49, 79%, 18%)
CMYKcmyk(0%, 14.9%, 78.7%, 81.6%)
CIE-LABlab(16.23, -1.19, 19.45)
CIE-LCHlch(16.23, 19.48, 93.49°)
OKLaboklab(27.74% -0.0049 0.0461)
OKLCHoklch(27.74% 0.046 96.1)
XYZxyz(1.9860, 2.1439, 0.5963)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F280A #0A112F
analogous
#2F150A #2F280A #232F0A
triadic
#2F280A #0A2F28 #280A2F
tetradic
#2F280A #0A2F15 #0A112F #2F0A23
square
#2F280A #0A2F15 #0A112F #2F0A23
split-complementary
#2F280A #0A232F #150A2F
monochromatic
#191505 #191505 #2F280A #615315 #947E1F

Accessibility & contrast

On white

14.70
#2F280A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F280A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F280A#FFFFFF#000000##FFFFFF
##2F280A1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#2F290C
Tritanopia (blue-blind)
#332422
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f280a;
/* rgb */ color: rgb(47, 40, 10);
/* oklch */ color: oklch(27.7% 0.046 96.1);
Tailwind
colors: {
  custom: {
    50: '#69614b',
    500: '#2f280a',
    950: '#000000',
  },
}
SCSS
$custom: #2f280a;
$custom-light: #69614b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f280a",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 10
  },
  "hsl": {
    "h": 48.649,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27741,
    "c": 0.04639,
    "h": 96.1
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#2F280A
secondary
#29356C
accent
#60E840
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F280A

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

Preview Lab → · Contrast checker → · Palette generator →

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