#2F2809#2F2809

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

Color values

HEX#2F2809
RGBrgb(47, 40, 9)
HSLhsl(49, 68%, 11%)
HSVhsv(49, 81%, 18%)
CMYKcmyk(0%, 14.9%, 80.9%, 81.6%)
CIE-LABlab(16.21, -1.26, 19.84)
CIE-LCHlch(16.21, 19.88, 93.65°)
OKLaboklab(27.73% -0.0053 0.0471)
OKLCHoklch(27.73% 0.047 96.4)
XYZxyz(1.9805, 2.1417, 0.5675)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2809 #09102F
analogous
#2F1509 #2F2809 #232F09
triadic
#2F2809 #092F28 #28092F
tetradic
#2F2809 #092F15 #09102F #2F0923
square
#2F2809 #092F15 #09102F #2F0923
split-complementary
#2F2809 #09232F #15092F
monochromatic
#1A1605 #1A1605 #2F2809 #625413 #967F1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2809#FFFFFF#000000##FFFFFF
##2F28091.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)
#2D2706
Deuteranopia (green-blind)
#2F290B
Tritanopia (blue-blind)
#332422
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f2809;
/* rgb */ color: rgb(47, 40, 9);
/* oklch */ color: oklch(27.7% 0.047 96.4);
Tailwind
colors: {
  custom: {
    50: '#69614b',
    500: '#2f2809',
    950: '#000000',
  },
}
SCSS
$custom: #2f2809;
$custom-light: #69614b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2809",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 9
  },
  "hsl": {
    "h": 48.947,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27729,
    "c": 0.04739,
    "h": 96.4
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#2F2809
secondary
#27346D
accent
#5DEB3D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2809

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

Preview Lab → · Contrast checker → · Palette generator →

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