#2A2C01#2A2C01

#2A2C01 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.061 H 112.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#2A2C01
RGBrgb(42, 44, 1)
HSLhsl(63, 96%, 9%)
HSVhsv(63, 98%, 17%)
CMYKcmyk(4.5%, 0%, 97.7%, 82.7%)
CIE-LABlab(16.97, -7.34, 23.91)
CIE-LCHlch(16.97, 25.01, 107.07°)
OKLaboklab(28.17% -0.0234 0.0567)
OKLCHoklch(28.17% 0.061 112.4)
XYZxyz(1.8611, 2.2958, 0.3738)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C01 #03012C
analogous
#2C1901 #2A2C01 #152C01
triadic
#2A2C01 #012A2C #2C012A
tetradic
#2A2C01 #012C19 #03012C #2C0115
square
#2A2C01 #012C19 #03012C #2C0115
split-complementary
#2A2C01 #01152C #19012C
monochromatic
#1D1E01 #1D1E01 #2A2C01 #636802 #9CA404

Accessibility & contrast

On white

14.39
#2A2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C01
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C01#FFFFFF#000000##FFFFFF
##2A2C011.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#2E2824
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c01;
/* rgb */ color: rgb(42, 44, 1);
/* oklch */ color: oklch(28.2% 0.061 112.4);
Tailwind
colors: {
  custom: {
    50: '#656447',
    500: '#2a2c01',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c01;
$custom-light: #656447;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c01",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 62.791,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.28171,
    "c": 0.06138,
    "h": 112.4
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#2A2C01
secondary
#1B1772
accent
#29FF33
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2A2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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