#2A2B03#2A2B03

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

Color values

HEX#2A2B03
RGBrgb(42, 43, 3)
HSLhsl(62, 87%, 9%)
HSVhsv(62, 93%, 17%)
CMYKcmyk(2.3%, 0%, 93%, 83.1%)
CIE-LABlab(16.63, -6.53, 22.68)
CIE-LCHlch(16.63, 23.60, 106.05°)
OKLaboklab(27.91% -0.0208 0.054)
OKLCHoklch(27.91% 0.058 111.1)
XYZxyz(1.8352, 2.2266, 0.4192)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B03 #04032B
analogous
#2B1803 #2A2B03 #162B03
triadic
#2A2B03 #032A2B #2B032A
tetradic
#2A2B03 #032B18 #04032B #2B0316
square
#2A2B03 #032B18 #04032B #2B0316
split-complementary
#2A2B03 #03162B #18032B
monochromatic
#1C1D02 #1C1D02 #2A2B03 #626407 #9A9D0B

Accessibility & contrast

On white

14.53
#2A2B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A2B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B03
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B03#FFFFFF#000000##FFFFFF
##2A2B031.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#302A05
Tritanopia (blue-blind)
#2E2823
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b03;
/* rgb */ color: rgb(42, 43, 3);
/* oklch */ color: oklch(27.9% 0.058 111.1);
Tailwind
colors: {
  custom: {
    50: '#656448',
    500: '#2a2b03',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b03;
$custom-light: #656448;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b03",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 61.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2791,
    "c": 0.05785,
    "h": 111.1
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#2A2B03
secondary
#1D1B6F
accent
#2BFD30
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2B03

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

Preview Lab → · Contrast checker → · Palette generator →

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