#2D2F05#2D2F05

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

Color values

HEX#2D2F05
RGBrgb(45, 47, 5)
HSLhsl(63, 81%, 10%)
HSVhsv(63, 89%, 18%)
CMYKcmyk(4.3%, 0%, 89.4%, 81.6%)
CIE-LABlab(18.37, -7.28, 24.04)
CIE-LCHlch(18.37, 25.12, 106.84°)
OKLaboklab(29.38% -0.0227 0.0554)
OKLCHoklch(29.38% 0.06 112.3)
XYZxyz(2.1262, 2.6019, 0.5338)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F05 #07052F
analogous
#2F1C05 #2D2F05 #182F05
triadic
#2D2F05 #052D2F #2F052D
tetradic
#2D2F05 #052F1C #07052F #2F0518
square
#2D2F05 #052F1C #07052F #2F0518
split-complementary
#2D2F05 #05182F #1C052F
monochromatic
#1A1C03 #1A1C03 #2D2F05 #62660B #979E11

Accessibility & contrast

On white

13.81
#2D2F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F05
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F05#FFFFFF#000000##FFFFFF
##2D2F051.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f05;
/* rgb */ color: rgb(45, 47, 5);
/* oklch */ color: oklch(29.4% 0.060 112.3);
Tailwind
colors: {
  custom: {
    50: '#676749',
    500: '#2d2f05',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f05;
$custom-light: #676749;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f05",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 62.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29383,
    "c": 0.05991,
    "h": 112.3
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#2D2F05
secondary
#231F71
accent
#31F73A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F05

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

Preview Lab → · Contrast checker → · Palette generator →

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