#2F2803#2F2803

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

Color values

HEX#2F2803
RGBrgb(47, 40, 3)
HSLhsl(50, 88%, 10%)
HSVhsv(50, 94%, 18%)
CMYKcmyk(0%, 14.9%, 93.6%, 81.6%)
CIE-LABlab(16.15, -1.75, 22.20)
CIE-LCHlch(16.15, 22.27, 94.50°)
OKLaboklab(27.66% -0.0077 0.0533)
OKLCHoklch(27.66% 0.054 98.3)
XYZxyz(1.9476, 2.1286, 0.3944)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2803 #030A2F
analogous
#2F1203 #2F2803 #202F03
triadic
#2F2803 #032F28 #28032F
tetradic
#2F2803 #032F12 #030A2F #2F0320
square
#2F2803 #032F12 #030A2F #2F0320
split-complementary
#2F2803 #03202F #12032F
monochromatic
#1D1802 #1D1802 #2F2803 #695907 #A28A0A

Accessibility & contrast

On white

14.73
#2F2803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2803
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2803#FFFFFF#000000##FFFFFF
##2F28031.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2803;
/* rgb */ color: rgb(47, 40, 3);
/* oklch */ color: oklch(27.7% 0.054 98.3);
Tailwind
colors: {
  custom: {
    50: '#696148',
    500: '#2f2803',
    950: '#000000',
  },
}
SCSS
$custom: #2f2803;
$custom-light: #696148;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2803",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 50.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27656,
    "c": 0.05381,
    "h": 98.3
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#2F2803
secondary
#1B2973
accent
#4BFE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2803

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

Preview Lab → · Contrast checker → · Palette generator →

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