#2D2F08#2D2F08

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

Color values

HEX#2D2F08
RGBrgb(45, 47, 8)
HSLhsl(63, 71%, 11%)
HSVhsv(63, 83%, 18%)
CMYKcmyk(4.3%, 0%, 83%, 81.6%)
CIE-LABlab(18.40, -7.04, 22.86)
CIE-LCHlch(18.40, 23.92, 107.12°)
OKLaboklab(29.42% -0.0216 0.0527)
OKLCHoklch(29.42% 0.057 112.3)
XYZxyz(2.1426, 2.6085, 0.6203)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F08 #0A082F
analogous
#2F1D08 #2D2F08 #192F08
triadic
#2D2F08 #082D2F #2F082D
tetradic
#2D2F08 #082F1D #0A082F #2F0819
square
#2D2F08 #082F1D #0A082F #2F0819
split-complementary
#2D2F08 #08192F #1D082F
monochromatic
#191A04 #191A04 #2D2F08 #5F6311 #91981A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2F08#FFFFFF#000000##FFFFFF
##2D2F081.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)
#332C04
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#312C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f08;
/* rgb */ color: rgb(45, 47, 8);
/* oklch */ color: oklch(29.4% 0.057 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674b',
    500: '#2d2f08',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f08;
$custom-light: #67674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f08",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 63.077,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29415,
    "c": 0.05696,
    "h": 112.3
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#2D2F08
secondary
#29256E
accent
#3AEE43
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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