#2C3003#2C3003

#2C3003 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.5% C 0.064 H 114.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#2C3003
RGBrgb(44, 48, 3)
HSLhsl(65, 88%, 10%)
HSVhsv(65, 94%, 19%)
CMYKcmyk(8.3%, 0%, 93.8%, 81.2%)
CIE-LABlab(18.61, -8.61, 25.11)
CIE-LCHlch(18.61, 26.55, 108.92°)
OKLaboklab(29.54% -0.0267 0.0577)
OKLCHoklch(29.54% 0.064 114.8)
XYZxyz(2.1122, 2.6560, 0.4875)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3003 #070330
analogous
#301D03 #2C3003 #163003
triadic
#2C3003 #032C30 #30032C
tetradic
#2C3003 #03301D #070330 #300316
square
#2C3003 #03301D #070330 #300316
split-complementary
#2C3003 #031630 #1D0330
monochromatic
#1A1D02 #1A1D02 #2C3003 #616A07 #96A30A

Accessibility & contrast

On white

13.71
#2C3003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2C3003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3003
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3003#FFFFFF#000000##FFFFFF
##2C30031.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#342E06
Tritanopia (blue-blind)
#302C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c3003;
/* rgb */ color: rgb(44, 48, 3);
/* oklch */ color: oklch(29.5% 0.064 114.8);
Tailwind
colors: {
  custom: {
    50: '#676848',
    500: '#2c3003',
    950: '#000000',
  },
}
SCSS
$custom: #2c3003;
$custom-light: #676848;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3003",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 3
  },
  "hsl": {
    "h": 65.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.0636,
    "h": 114.8
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#2C3003
secondary
#231B73
accent
#29FE3C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3003

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

Preview Lab → · Contrast checker → · Palette generator →

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