#2C3004#2C3004

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

Color values

HEX#2C3004
RGBrgb(44, 48, 4)
HSLhsl(65, 85%, 10%)
HSVhsv(65, 92%, 19%)
CMYKcmyk(8.3%, 0%, 91.7%, 81.2%)
CIE-LABlab(18.62, -8.53, 24.72)
CIE-LCHlch(18.62, 26.15, 109.04°)
OKLaboklab(29.55% -0.0263 0.0568)
OKLCHoklch(29.55% 0.063 114.8)
XYZxyz(2.1176, 2.6582, 0.5164)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3004 #080430
analogous
#301E04 #2C3004 #163004
triadic
#2C3004 #042C30 #30042C
tetradic
#2C3004 #04301E #080430 #300416
square
#2C3004 #04301E #080430 #300416
split-complementary
#2C3004 #041630 #1E0430
monochromatic
#1A1C02 #1A1C02 #2C3004 #606809 #94A10D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3004#FFFFFF#000000##FFFFFF
##2C30041.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)
#342E07
Tritanopia (blue-blind)
#302D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c3004;
/* rgb */ color: rgb(44, 48, 4);
/* oklch */ color: oklch(29.6% 0.063 114.8);
Tailwind
colors: {
  custom: {
    50: '#676849',
    500: '#2c3004',
    950: '#000000',
  },
}
SCSS
$custom: #2c3004;
$custom-light: #676849;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3004",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 65.455,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29553,
    "c": 0.06259,
    "h": 114.8
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#2C3004
secondary
#251D72
accent
#2DFB40
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3004

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

Preview Lab → · Contrast checker → · Palette generator →

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