#2F2D03#2F2D03

#2F2D03 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.059 H 106.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#2F2D03
RGBrgb(47, 45, 3)
HSLhsl(57, 88%, 10%)
HSVhsv(57, 94%, 18%)
CMYKcmyk(0%, 4.3%, 93.6%, 81.6%)
CIE-LABlab(17.86, -5.06, 24.30)
CIE-LCHlch(17.86, 24.82, 101.76°)
OKLaboklab(29.02% -0.017 0.0565)
OKLCHoklch(29.02% 0.059 106.8)
XYZxyz(2.1272, 2.4878, 0.4543)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D03 #03052F
analogous
#2F1703 #2F2D03 #1B2F03
triadic
#2F2D03 #032F2D #2D032F
tetradic
#2F2D03 #032F17 #03052F #2F031B
square
#2F2D03 #032F17 #03052F #2F031B
split-complementary
#2F2D03 #031B2F #17032F
monochromatic
#1D1C02 #1D1C02 #2F2D03 #696407 #A29B0A

Accessibility & contrast

On white

14.02
#2F2D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D03
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D03#FFFFFF#000000##FFFFFF
##2F2D031.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#332C06
Tritanopia (blue-blind)
#332925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d03;
/* rgb */ color: rgb(47, 45, 3);
/* oklch */ color: oklch(29.0% 0.059 106.8);
Tailwind
colors: {
  custom: {
    50: '#696548',
    500: '#2f2d03',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d03;
$custom-light: #696548;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d03",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 57.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29019,
    "c": 0.05896,
    "h": 106.8
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#2F2D03
secondary
#1B1F73
accent
#33FE2A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2F2D03

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

Preview Lab → · Contrast checker → · Palette generator →

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