#2F280B#2F280B

#2F280B is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.8% C 0.045 H 95.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#2F280B
RGBrgb(47, 40, 11)
HSLhsl(48, 62%, 11%)
HSVhsv(48, 77%, 18%)
CMYKcmyk(0%, 14.9%, 76.6%, 81.6%)
CIE-LABlab(16.24, -1.11, 19.04)
CIE-LCHlch(16.24, 19.07, 93.32°)
OKLaboklab(27.75% -0.0045 0.0451)
OKLCHoklch(27.75% 0.045 95.7)
XYZxyz(1.9916, 2.1462, 0.6259)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F280B #0B122F
analogous
#2F160B #2F280B #242F0B
triadic
#2F280B #0B2F28 #280B2F
tetradic
#2F280B #0B2F16 #0B122F #2F0B24
square
#2F280B #0B2F16 #0B122F #2F0B24
split-complementary
#2F280B #0B242F #160B2F
monochromatic
#191506 #191506 #2F280B #615217 #927C22

Accessibility & contrast

On white

14.69
#2F280B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F280B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F280B#FFFFFF#000000##FFFFFF
##2F280B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f280b;
/* rgb */ color: rgb(47, 40, 11);
/* oklch */ color: oklch(27.8% 0.045 95.7);
Tailwind
colors: {
  custom: {
    50: '#69614c',
    500: '#2f280b',
    950: '#000000',
  },
}
SCSS
$custom: #2f280b;
$custom-light: #69614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f280b",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 48.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27754,
    "c": 0.04536,
    "h": 95.7
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#2F280B
secondary
#2A376B
accent
#62E543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F280B

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

Preview Lab → · Contrast checker → · Palette generator →

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