#2D2F02#2D2F02

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

Color values

HEX#2D2F02
RGBrgb(45, 47, 2)
HSLhsl(63, 92%, 10%)
HSVhsv(63, 96%, 18%)
CMYKcmyk(4.3%, 0%, 95.7%, 81.6%)
CIE-LABlab(18.34, -7.52, 25.23)
CIE-LCHlch(18.34, 26.33, 106.60°)
OKLaboklab(29.35% -0.0239 0.0583)
OKLCHoklch(29.35% 0.063 112.3)
XYZxyz(2.1097, 2.5954, 0.4472)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F02 #04022F
analogous
#2F1B02 #2D2F02 #172F02
triadic
#2D2F02 #022D2F #2F022D
tetradic
#2D2F02 #022F1B #04022F #2F0217
square
#2D2F02 #022F1B #04022F #2F0217
split-complementary
#2D2F02 #02172F #1B022F
monochromatic
#1C1D01 #1C1D01 #2D2F02 #656A04 #9DA407

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2F02#FFFFFF#000000##FFFFFF
##2D2F021.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)
#342D05
Tritanopia (blue-blind)
#312B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f02;
/* rgb */ color: rgb(45, 47, 2);
/* oklch */ color: oklch(29.3% 0.063 112.3);
Tailwind
colors: {
  custom: {
    50: '#676748',
    500: '#2d2f02',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f02;
$custom-light: #676748;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f02",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 62.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2935,
    "c": 0.06296,
    "h": 112.3
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#2D2F02
secondary
#1D1974
accent
#29FF32
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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