#2E2C02#2E2C02

#2E2C02 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.059 H 106.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#2E2C02
RGBrgb(46, 44, 2)
HSLhsl(57, 92%, 9%)
HSVhsv(57, 96%, 18%)
CMYKcmyk(0%, 4.3%, 95.7%, 82%)
CIE-LABlab(17.40, -5.04, 24.12)
CIE-LCHlch(17.40, 24.64, 101.80°)
OKLaboklab(28.62% -0.0171 0.0566)
OKLCHoklch(28.62% 0.059 106.8)
XYZxyz(2.0384, 2.3867, 0.4107)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C02 #02042E
analogous
#2E1602 #2E2C02 #1A2E02
triadic
#2E2C02 #022E2C #2C022E
tetradic
#2E2C02 #022E16 #02042E #2E021A
square
#2E2C02 #022E16 #02042E #2E021A
split-complementary
#2E2C02 #021A2E #16022E
monochromatic
#1D1C01 #1D1C01 #2E2C02 #696405 #A39C07

Accessibility & contrast

On white

14.21
#2E2C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2C02
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C02#FFFFFF#000000##FFFFFF
##2E2C021.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#322B04
Tritanopia (blue-blind)
#322824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2c02;
/* rgb */ color: rgb(46, 44, 2);
/* oklch */ color: oklch(28.6% 0.059 106.8);
Tailwind
colors: {
  custom: {
    50: '#686448',
    500: '#2e2c02',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c02;
$custom-light: #686448;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c02",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 57.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28619,
    "c": 0.0591,
    "h": 106.8
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#2E2C02
secondary
#191D73
accent
#33FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2E2C02

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

Preview Lab → · Contrast checker → · Palette generator →

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