#2F2903#2F2903

#2F2903 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.055 H 100.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#2F2903
RGBrgb(47, 41, 3)
HSLhsl(52, 88%, 10%)
HSVhsv(52, 94%, 18%)
CMYKcmyk(0%, 12.8%, 93.6%, 81.6%)
CIE-LABlab(16.49, -2.42, 22.62)
CIE-LCHlch(16.49, 22.75, 96.10°)
OKLaboklab(27.93% -0.0096 0.0539)
OKLCHoklch(27.93% 0.055 100.1)
XYZxyz(1.9818, 2.1969, 0.4058)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2903 #03092F
analogous
#2F1303 #2F2903 #1F2F03
triadic
#2F2903 #032F29 #29032F
tetradic
#2F2903 #032F13 #03092F #2F031F
square
#2F2903 #032F13 #03092F #2F031F
split-complementary
#2F2903 #031F2F #13032F
monochromatic
#1D1902 #1D1902 #2F2903 #695B07 #A28D0A

Accessibility & contrast

On white

14.59
#2F2903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2903
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2903#FFFFFF#000000##FFFFFF
##2F29031.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#302A05
Tritanopia (blue-blind)
#342522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2903;
/* rgb */ color: rgb(47, 41, 3);
/* oklch */ color: oklch(27.9% 0.055 100.1);
Tailwind
colors: {
  custom: {
    50: '#696248',
    500: '#2f2903',
    950: '#000000',
  },
}
SCSS
$custom: #2f2903;
$custom-light: #696248;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2903",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 3
  },
  "hsl": {
    "h": 51.818,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27926,
    "c": 0.05474,
    "h": 100.1
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#2F2903
secondary
#1B2773
accent
#47FE2A
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2903

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

Preview Lab → · Contrast checker → · Palette generator →

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