#2F2905#2F2905

#2F2905 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.053 H 99.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#2F2905
RGBrgb(47, 41, 5)
HSLhsl(51, 81%, 10%)
HSVhsv(51, 89%, 18%)
CMYKcmyk(0%, 12.8%, 89.4%, 81.6%)
CIE-LABlab(16.51, -2.26, 21.84)
CIE-LCHlch(16.51, 21.95, 95.91°)
OKLaboklab(27.95% -0.0088 0.0518)
OKLCHoklch(27.95% 0.053 99.6)
XYZxyz(1.9927, 2.2013, 0.4635)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2905 #050B2F
analogous
#2F1405 #2F2905 #202F05
triadic
#2F2905 #052F29 #29052F
tetradic
#2F2905 #052F14 #050B2F #2F0520
square
#2F2905 #052F14 #050B2F #2F0520
split-complementary
#2F2905 #05202F #14052F
monochromatic
#1C1803 #1C1803 #2F2905 #66590B #9E8A11

Accessibility & contrast

On white

14.58
#2F2905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F2905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2905
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2905#FFFFFF#000000##FFFFFF
##2F29051.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2801
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#332522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2905;
/* rgb */ color: rgb(47, 41, 5);
/* oklch */ color: oklch(28.0% 0.053 99.6);
Tailwind
colors: {
  custom: {
    50: '#696249',
    500: '#2f2905',
    950: '#000000',
  },
}
SCSS
$custom: #2f2905;
$custom-light: #696249;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2905",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 5
  },
  "hsl": {
    "h": 51.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2795,
    "c": 0.05256,
    "h": 99.6
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#2F2905
secondary
#1F2B71
accent
#4DF731
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2905

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

Preview Lab → · Contrast checker → · Palette generator →

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