#2F2A08#2F2A08

#2F2A08 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.050 H 100.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2F2A08
RGBrgb(47, 42, 8)
HSLhsl(52, 71%, 11%)
HSVhsv(52, 83%, 18%)
CMYKcmyk(0%, 10.6%, 83%, 81.6%)
CIE-LABlab(16.88, -2.69, 21.07)
CIE-LCHlch(16.88, 21.24, 97.27°)
OKLaboklab(28.26% -0.0095 0.0495)
OKLCHoklch(28.26% 0.05 100.8)
XYZxyz(2.0442, 2.2779, 0.5617)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A08 #080D2F
analogous
#2F1608 #2F2A08 #202F08
triadic
#2F2A08 #082F2A #2A082F
tetradic
#2F2A08 #082F16 #080D2F #2F0820
square
#2F2A08 #082F16 #080D2F #2F0820
split-complementary
#2F2A08 #08202F #16082F
monochromatic
#1A1704 #1A1704 #2F2A08 #635911 #98871A

Accessibility & contrast

On white

14.43
#2F2A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A08
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A08#FFFFFF#000000##FFFFFF
##2F2A081.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2904
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a08;
/* rgb */ color: rgb(47, 42, 8);
/* oklch */ color: oklch(28.3% 0.050 100.8);
Tailwind
colors: {
  custom: {
    50: '#69634a',
    500: '#2f2a08',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a08;
$custom-light: #69634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a08",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 52.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28256,
    "c": 0.05045,
    "h": 100.8
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#2F2A08
secondary
#252E6E
accent
#51EE3A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A08

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

Preview Lab → · Contrast checker → · Palette generator →

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