#2F280C#2F280C

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

Color values

HEX#2F280C
RGBrgb(47, 40, 12)
HSLhsl(48, 59%, 12%)
HSVhsv(48, 74%, 18%)
CMYKcmyk(0%, 14.9%, 74.5%, 81.6%)
CIE-LABlab(16.25, -1.02, 18.61)
CIE-LCHlch(16.25, 18.64, 93.14°)
OKLaboklab(27.77% -0.0041 0.0441)
OKLCHoklch(27.77% 0.044 95.3)
XYZxyz(1.9975, 2.1486, 0.6573)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F280C #0C132F
analogous
#2F170C #2F280C #252F0C
triadic
#2F280C #0C2F28 #280C2F
tetradic
#2F280C #0C2F17 #0C132F #2F0C25
square
#2F280C #0C2F17 #0C132F #2F0C25
split-complementary
#2F280C #0C252F #170C2F
monochromatic
#181506 #181506 #2F280C #605118 #917B25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F280C#FFFFFF#000000##FFFFFF
##2F280C1.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)
#2D2709
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#332422
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f280c;
/* rgb */ color: rgb(47, 40, 12);
/* oklch */ color: oklch(27.8% 0.044 95.3);
Tailwind
colors: {
  custom: {
    50: '#69614c',
    500: '#2f280c',
    950: '#000000',
  },
}
SCSS
$custom: #2f280c;
$custom-light: #69614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f280c",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 48,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27767,
    "c": 0.0443,
    "h": 95.3
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#2F280C
secondary
#2C396B
accent
#65E345
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F280C

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

Preview Lab → · Contrast checker → · Palette generator →

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