#2A2B02#2A2B02

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

Color values

HEX#2A2B02
RGBrgb(42, 43, 2)
HSLhsl(61, 91%, 9%)
HSVhsv(61, 95%, 17%)
CMYKcmyk(2.3%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.62, -6.61, 23.08)
CIE-LCHlch(16.62, 24.01, 105.99°)
OKLaboklab(27.9% -0.0212 0.055)
OKLCHoklch(27.9% 0.059 111.1)
XYZxyz(1.8297, 2.2244, 0.3904)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B02 #03022B
analogous
#2B1802 #2A2B02 #162B02
triadic
#2A2B02 #022A2B #2B022A
tetradic
#2A2B02 #022B18 #03022B #2B0216
square
#2A2B02 #022B18 #03022B #2B0216
split-complementary
#2A2B02 #02162B #18022B
monochromatic
#1D1D01 #1D1D01 #2A2B02 #636505 #9CA007

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2B02#FFFFFF#000000##FFFFFF
##2A2B021.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2b02;
/* rgb */ color: rgb(42, 43, 2);
/* oklch */ color: oklch(27.9% 0.059 111.1);
Tailwind
colors: {
  custom: {
    50: '#656448',
    500: '#2a2b02',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b02;
$custom-light: #656448;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b02",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 61.463,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27898,
    "c": 0.05899,
    "h": 111.1
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#2A2B02
secondary
#1B1970
accent
#29FF2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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