#2F2F03#2F2F03

#2F2F03 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.061 H 109.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2F2F03
RGBrgb(47, 47, 3)
HSLhsl(60, 88%, 10%)
HSVhsv(60, 94%, 18%)
CMYKcmyk(0%, 0%, 93.6%, 81.6%)
CIE-LABlab(18.56, -6.35, 25.13)
CIE-LCHlch(18.56, 25.92, 104.18°)
OKLaboklab(29.57% -0.0206 0.0577)
OKLCHoklch(29.57% 0.061 109.6)
XYZxyz(2.2053, 2.6440, 0.4803)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F03 #03032F
analogous
#2F1903 #2F2F03 #192F03
triadic
#2F2F03 #032F2F #2F032F
tetradic
#2F2F03 #032F19 #03032F #2F0319
square
#2F2F03 #032F19 #03032F #2F0319
split-complementary
#2F2F03 #03192F #19032F
monochromatic
#1D1D02 #1D1D02 #2F2F03 #696907 #A2A20A

Accessibility & contrast

On white

13.74
#2F2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2F2F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F03
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F03#FFFFFF#000000##FFFFFF
##2F2F031.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#342E06
Tritanopia (blue-blind)
#332B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f03;
/* rgb */ color: rgb(47, 47, 3);
/* oklch */ color: oklch(29.6% 0.061 109.6);
Tailwind
colors: {
  custom: {
    50: '#696748',
    500: '#2f2f03',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f03;
$custom-light: #696748;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f03",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 60,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29574,
    "c": 0.0613,
    "h": 109.6
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#2F2F03
secondary
#1B1B73
accent
#2AFE2A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2F2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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