#2F280F#2F280F

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

Color values

HEX#2F280F
RGBrgb(47, 40, 15)
HSLhsl(47, 52%, 12%)
HSVhsv(47, 68%, 18%)
CMYKcmyk(0%, 14.9%, 68.1%, 81.6%)
CIE-LABlab(16.29, -0.73, 17.19)
CIE-LCHlch(16.29, 17.20, 92.45°)
OKLaboklab(27.81% -0.0028 0.0408)
OKLCHoklch(27.81% 0.041 94)
XYZxyz(2.0174, 2.1565, 0.7618)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F280F #0F162F
analogous
#2F180F #2F280F #262F0F
triadic
#2F280F #0F2F28 #280F2F
tetradic
#2F280F #0F2F18 #0F162F #2F0F26
square
#2F280F #0F2F18 #0F162F #2F0F26
split-complementary
#2F280F #0F262F #180F2F
monochromatic
#171407 #171407 #2F280F #5D4F1E #8C772D

Accessibility & contrast

On white

14.67
#2F280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F280F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F280F#FFFFFF#000000##FFFFFF
##2F280F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f280f;
/* rgb */ color: rgb(47, 40, 15);
/* oklch */ color: oklch(27.8% 0.041 94.0);
Tailwind
colors: {
  custom: {
    50: '#69614e',
    500: '#2f280f',
    950: '#000000',
  },
}
SCSS
$custom: #2f280f;
$custom-light: #69614e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f280f",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 46.875,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27811,
    "c": 0.04088,
    "h": 94
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#2F280F
secondary
#313D69
accent
#6CDB4D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F280F

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

Preview Lab → · Contrast checker → · Palette generator →

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