#2D2F07#2D2F07

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

Color values

HEX#2D2F07
RGBrgb(45, 47, 7)
HSLhsl(63, 74%, 11%)
HSVhsv(63, 85%, 18%)
CMYKcmyk(4.3%, 0%, 85.1%, 81.6%)
CIE-LABlab(18.39, -7.12, 23.25)
CIE-LCHlch(18.39, 24.32, 107.03°)
OKLaboklab(29.4% -0.022 0.0536)
OKLCHoklch(29.4% 0.058 112.3)
XYZxyz(2.1371, 2.6063, 0.5915)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F07 #09072F
analogous
#2F1D07 #2D2F07 #192F07
triadic
#2D2F07 #072D2F #2F072D
tetradic
#2D2F07 #072F1D #09072F #2F0719
square
#2D2F07 #072F1D #09072F #2F0719
split-complementary
#2D2F07 #07192F #1D072F
monochromatic
#191B04 #191B04 #2D2F07 #60640F #939A17

Accessibility & contrast

On white

13.80
#2D2F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F07
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F07#FFFFFF#000000##FFFFFF
##2D2F071.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#312C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f07;
/* rgb */ color: rgb(45, 47, 7);
/* oklch */ color: oklch(29.4% 0.058 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674a',
    500: '#2d2f07',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f07;
$custom-light: #67674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f07",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 63,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29404,
    "c": 0.05793,
    "h": 112.3
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#2D2F07
secondary
#27236F
accent
#37F140
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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