#2F2604#2F2604

#2F2604 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.051 H 93.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#2F2604
RGBrgb(47, 38, 4)
HSLhsl(47, 84%, 10%)
HSVhsv(47, 91%, 18%)
CMYKcmyk(0%, 19.1%, 91.5%, 81.6%)
CIE-LABlab(15.48, -0.31, 20.96)
CIE-LCHlch(15.48, 20.96, 90.85°)
OKLaboklab(27.13% -0.0035 0.0509)
OKLCHoklch(27.13% 0.051 93.9)
XYZxyz(1.8874, 1.9994, 0.4014)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2604 #040D2F
analogous
#2F1104 #2F2604 #222F04
triadic
#2F2604 #042F26 #26042F
tetradic
#2F2604 #042F11 #040D2F #2F0422
square
#2F2604 #042F11 #040D2F #2F0422
split-complementary
#2F2604 #04222F #11042F
monochromatic
#1C1702 #1C1702 #2F2604 #675409 #A0810E

Accessibility & contrast

On white

15.00
#2F2604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F2604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2604
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2604#FFFFFF#000000##FFFFFF
##2F26041.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2501
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#34221F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2604;
/* rgb */ color: rgb(47, 38, 4);
/* oklch */ color: oklch(27.1% 0.051 93.9);
Tailwind
colors: {
  custom: {
    50: '#696048',
    500: '#2f2604',
    950: '#000000',
  },
}
SCSS
$custom: #2f2604;
$custom-light: #696048;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2604",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 4
  },
  "hsl": {
    "h": 47.442,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27134,
    "c": 0.05099,
    "h": 93.9
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#2F2604
secondary
#1D2F72
accent
#58FB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2604

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

Preview Lab → · Contrast checker → · Palette generator →

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