#2D2F04#2D2F04

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

Color values

HEX#2D2F04
RGBrgb(45, 47, 4)
HSLhsl(63, 84%, 10%)
HSVhsv(63, 91%, 18%)
CMYKcmyk(4.3%, 0%, 91.5%, 81.6%)
CIE-LABlab(18.36, -7.36, 24.44)
CIE-LCHlch(18.36, 25.52, 106.75°)
OKLaboklab(29.37% -0.0231 0.0564)
OKLCHoklch(29.37% 0.061 112.3)
XYZxyz(2.1207, 2.5997, 0.5049)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F04 #06042F
analogous
#2F1C04 #2D2F04 #172F04
triadic
#2D2F04 #042D2F #2F042D
tetradic
#2D2F04 #042F1C #06042F #2F0417
square
#2D2F04 #042F1C #06042F #2F0417
split-complementary
#2D2F04 #04172F #1C042F
monochromatic
#1B1C02 #1B1C02 #2D2F04 #636709 #99A00E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2F04#FFFFFF#000000##FFFFFF
##2D2F041.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)
#332C00
Deuteranopia (green-blind)
#342D07
Tritanopia (blue-blind)
#312B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f04;
/* rgb */ color: rgb(45, 47, 4);
/* oklch */ color: oklch(29.4% 0.061 112.3);
Tailwind
colors: {
  custom: {
    50: '#676749',
    500: '#2d2f04',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f04;
$custom-light: #676749;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f04",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 62.791,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.06091,
    "h": 112.3
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#2D2F04
secondary
#211D72
accent
#2DFB37
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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