#2A2B01#2A2B01

#2A2B01 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.060 H 111.1°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#2A2B01
RGBrgb(42, 43, 1)
HSLhsl(61, 95%, 9%)
HSVhsv(61, 98%, 17%)
CMYKcmyk(2.3%, 0%, 97.7%, 83.1%)
CIE-LABlab(16.61, -6.70, 23.47)
CIE-LCHlch(16.61, 24.41, 105.93°)
OKLaboklab(27.89% -0.0217 0.0561)
OKLCHoklch(27.89% 0.06 111.1)
XYZxyz(1.8243, 2.2222, 0.3615)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B01 #02012B
analogous
#2B1701 #2A2B01 #152B01
triadic
#2A2B01 #012A2B #2B012A
tetradic
#2A2B01 #012B17 #02012B #2B0115
square
#2A2B01 #012B17 #02012B #2B0115
split-complementary
#2A2B01 #01152B #17012B
monochromatic
#1D1E01 #1D1E01 #2A2B01 #646702 #9FA304

Accessibility & contrast

On white

14.54
#2A2B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2A2B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B01
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B01#FFFFFF#000000##FFFFFF
##2A2B011.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A03
Tritanopia (blue-blind)
#2E2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b01;
/* rgb */ color: rgb(42, 43, 1);
/* oklch */ color: oklch(27.9% 0.060 111.1);
Tailwind
colors: {
  custom: {
    50: '#656447',
    500: '#2a2b01',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b01;
$custom-light: #656447;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b01",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 61.429,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27886,
    "c": 0.06015,
    "h": 111.1
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#2A2B01
secondary
#191771
accent
#29FF2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2B01

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

Preview Lab → · Contrast checker → · Palette generator →

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