#2F2805#2F2805

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

Color values

HEX#2F2805
RGBrgb(47, 40, 5)
HSLhsl(50, 81%, 10%)
HSVhsv(50, 89%, 18%)
CMYKcmyk(0%, 14.9%, 89.4%, 81.6%)
CIE-LABlab(16.17, -1.59, 21.41)
CIE-LCHlch(16.17, 21.47, 94.23°)
OKLaboklab(27.68% -0.0069 0.0511)
OKLCHoklch(27.68% 0.052 97.7)
XYZxyz(1.9586, 2.1330, 0.4521)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2805 #050C2F
analogous
#2F1305 #2F2805 #212F05
triadic
#2F2805 #052F28 #28052F
tetradic
#2F2805 #052F13 #050C2F #2F0521
square
#2F2805 #052F13 #050C2F #2F0521
split-complementary
#2F2805 #05212F #13052F
monochromatic
#1C1803 #1C1803 #2F2805 #66570B #9E8611

Accessibility & contrast

On white

14.72
#2F2805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2805
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2805#FFFFFF#000000##FFFFFF
##2F28051.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#342421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f2805;
/* rgb */ color: rgb(47, 40, 5);
/* oklch */ color: oklch(27.7% 0.052 97.7);
Tailwind
colors: {
  custom: {
    50: '#696149',
    500: '#2f2805',
    950: '#000000',
  },
}
SCSS
$custom: #2f2805;
$custom-light: #696149;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2805",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 50,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2768,
    "c": 0.0516,
    "h": 97.7
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#2F2805
secondary
#1F2D71
accent
#52F731
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2805

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

Preview Lab → · Contrast checker → · Palette generator →

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