#2D2F03#2D2F03

#2D2F03 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.062 H 112.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2D2F03
RGBrgb(45, 47, 3)
HSLhsl(63, 88%, 10%)
HSVhsv(63, 94%, 18%)
CMYKcmyk(4.3%, 0%, 93.6%, 81.6%)
CIE-LABlab(18.35, -7.44, 24.83)
CIE-LCHlch(18.35, 25.92, 106.67°)
OKLaboklab(29.36% -0.0235 0.0573)
OKLCHoklch(29.36% 0.062 112.3)
XYZxyz(2.1152, 2.5975, 0.4761)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F03 #05032F
analogous
#2F1B03 #2D2F03 #172F03
triadic
#2D2F03 #032D2F #2F032D
tetradic
#2D2F03 #032F1B #05032F #2F0317
square
#2D2F03 #032F1B #05032F #2F0317
split-complementary
#2D2F03 #03172F #1B032F
monochromatic
#1C1D02 #1C1D02 #2D2F03 #646907 #9BA20A

Accessibility & contrast

On white

13.82
#2D2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2D2F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F03
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F03#FFFFFF#000000##FFFFFF
##2D2F031.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f03;
/* rgb */ color: rgb(45, 47, 3);
/* oklch */ color: oklch(29.4% 0.062 112.3);
Tailwind
colors: {
  custom: {
    50: '#676748',
    500: '#2d2f03',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f03;
$custom-light: #676748;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f03",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 62.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29361,
    "c": 0.06193,
    "h": 112.3
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#2D2F03
secondary
#1F1B73
accent
#2AFE33
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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