#2A3201#2A3201

#2A3201 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 29.9% C 0.069 H 119.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#2A3201
RGBrgb(42, 50, 1)
HSLhsl(70, 96%, 10%)
HSVhsv(70, 98%, 20%)
CMYKcmyk(16%, 0%, 98%, 80.4%)
CIE-LABlab(19.12, -11.06, 26.48)
CIE-LCHlch(19.12, 28.70, 112.68°)
OKLaboklab(29.9% -0.0336 0.0605)
OKLCHoklch(29.9% 0.069 119)
XYZxyz(2.1010, 2.7757, 0.4538)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3201 #090132
analogous
#322201 #2A3201 #113201
triadic
#2A3201 #012A32 #32012A
tetradic
#2A3201 #013222 #090132 #320111
square
#2A3201 #013222 #090132 #320111
split-complementary
#2A3201 #011132 #220132
monochromatic
#191E01 #191E01 #2A3201 #5C6E02 #8FAA03

Accessibility & contrast

On white

13.50
#2A3201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A3201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3201
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3201#FFFFFF#000000##FFFFFF
##2A32011.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#352F05
Tritanopia (blue-blind)
#2D2F29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3201;
/* rgb */ color: rgb(42, 50, 1);
/* oklch */ color: oklch(29.9% 0.069 119.0);
Tailwind
colors: {
  custom: {
    50: '#656948',
    500: '#2a3201',
    950: '#000000',
  },
}
SCSS
$custom: #2a3201;
$custom-light: #656948;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3201",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 1
  },
  "hsl": {
    "h": 69.796,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.29902,
    "c": 0.06921,
    "h": 119
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#2A3201
secondary
#271777
accent
#29FF4C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3201

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

Preview Lab → · Contrast checker → · Palette generator →

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