#2C2D02#2C2D02

#2C2D02 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.061 H 111.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#2C2D02
RGBrgb(44, 45, 2)
HSLhsl(61, 91%, 9%)
HSVhsv(61, 96%, 18%)
CMYKcmyk(2.2%, 0%, 95.6%, 82.4%)
CIE-LABlab(17.54, -6.79, 24.24)
CIE-LCHlch(17.54, 25.18, 105.66°)
OKLaboklab(28.68% -0.0218 0.0568)
OKLCHoklch(28.68% 0.061 111)
XYZxyz(1.9881, 2.4167, 0.4192)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D02 #03022D
analogous
#2D1902 #2C2D02 #172D02
triadic
#2C2D02 #022C2D #2D022C
tetradic
#2C2D02 #022D19 #03022D #2D0217
square
#2C2D02 #022D19 #03022D #2D0217
split-complementary
#2C2D02 #02172D #19022D
monochromatic
#1D1D01 #1D1D01 #2C2D02 #656805 #9FA207

Accessibility & contrast

On white

14.16
#2C2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2C2D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D02
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D02#FFFFFF#000000##FFFFFF
##2C2D021.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322A00
Deuteranopia (green-blind)
#322C05
Tritanopia (blue-blind)
#302925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c2d02;
/* rgb */ color: rgb(44, 45, 2);
/* oklch */ color: oklch(28.7% 0.061 111.0);
Tailwind
colors: {
  custom: {
    50: '#676548',
    500: '#2c2d02',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d02;
$custom-light: #676548;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d02",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 61.395,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28679,
    "c": 0.06081,
    "h": 111
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#2C2D02
secondary
#1B1972
accent
#29FF2E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2C2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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