#2C3002#2C3002

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

Color values

HEX#2C3002
RGBrgb(44, 48, 2)
HSLhsl(65, 92%, 10%)
HSVhsv(65, 96%, 19%)
CMYKcmyk(8.3%, 0%, 95.8%, 81.2%)
CIE-LABlab(18.60, -8.69, 25.51)
CIE-LCHlch(18.60, 26.95, 108.81°)
OKLaboklab(29.53% -0.027 0.0587)
OKLCHoklch(29.53% 0.065 114.7)
XYZxyz(2.1067, 2.6538, 0.4587)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3002 #060230
analogous
#301D02 #2C3002 #153002
triadic
#2C3002 #022C30 #30022C
tetradic
#2C3002 #02301D #060230 #300215
square
#2C3002 #02301D #060230 #300215
split-complementary
#2C3002 #021530 #1D0230
monochromatic
#1B1D01 #1B1D01 #2C3002 #626B04 #98A607

Accessibility & contrast

On white

13.72
#2C3002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3002
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3002#FFFFFF#000000##FFFFFF
##2C30021.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3002;
/* rgb */ color: rgb(44, 48, 2);
/* oklch */ color: oklch(29.5% 0.065 114.7);
Tailwind
colors: {
  custom: {
    50: '#676848',
    500: '#2c3002',
    950: '#000000',
  },
}
SCSS
$custom: #2c3002;
$custom-light: #676848;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3002",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 65.217,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.06461,
    "h": 114.7
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#2C3002
secondary
#211975
accent
#29FF3B
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2C3002

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

Preview Lab → · Contrast checker → · Palette generator →

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