#2C2F02#2C2F02

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

Color values

HEX#2C2F02
RGBrgb(44, 47, 2)
HSLhsl(64, 92%, 10%)
HSVhsv(64, 96%, 18%)
CMYKcmyk(6.4%, 0%, 95.7%, 81.6%)
CIE-LABlab(18.25, -8.06, 25.09)
CIE-LCHlch(18.25, 26.35, 107.82°)
OKLaboklab(29.25% -0.0253 0.058)
OKLCHoklch(29.25% 0.063 113.6)
XYZxyz(2.0662, 2.5729, 0.4452)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F02 #05022F
analogous
#2F1C02 #2C2F02 #162F02
triadic
#2C2F02 #022C2F #2F022C
tetradic
#2C2F02 #022F1C #05022F #2F0216
square
#2C2F02 #022F1C #05022F #2F0216
split-complementary
#2C2F02 #02162F #1C022F
monochromatic
#1B1D01 #1B1D01 #2C2F02 #636A04 #9AA407

Accessibility & contrast

On white

13.87
#2C2F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2C2F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F02
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F02#FFFFFF#000000##FFFFFF
##2C2F021.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#332D05
Tritanopia (blue-blind)
#302B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2f02;
/* rgb */ color: rgb(44, 47, 2);
/* oklch */ color: oklch(29.2% 0.063 113.6);
Tailwind
colors: {
  custom: {
    50: '#676748',
    500: '#2c2f02',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f02;
$custom-light: #676748;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f02",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 64,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29246,
    "c": 0.06333,
    "h": 113.6
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#2C2F02
secondary
#1F1974
accent
#29FF37
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2C2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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