#2B2803#2B2803

#2B2803 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.054 H 104.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#2B2803
RGBrgb(43, 40, 3)
HSLhsl(56, 87%, 9%)
HSVhsv(56, 93%, 17%)
CMYKcmyk(0%, 7%, 93%, 83.1%)
CIE-LABlab(15.68, -4.00, 21.52)
CIE-LCHlch(15.68, 21.89, 100.53°)
OKLaboklab(27.18% -0.0138 0.0522)
OKLCHoklch(27.18% 0.054 104.8)
XYZxyz(1.7716, 2.0378, 0.3862)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2803 #03062B
analogous
#2B1403 #2B2803 #1A2B03
triadic
#2B2803 #032B28 #28032B
tetradic
#2B2803 #032B14 #03062B #2B031A
square
#2B2803 #032B14 #03062B #2B031A
split-complementary
#2B2803 #031A2B #14032B
monochromatic
#1D1B02 #1D1B02 #2B2803 #645D07 #9D920B

Accessibility & contrast

On white

14.92
#2B2803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B2803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2803
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2803#FFFFFF#000000##FFFFFF
##2B28031.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2803;
/* rgb */ color: rgb(43, 40, 3);
/* oklch */ color: oklch(27.2% 0.054 104.8);
Tailwind
colors: {
  custom: {
    50: '#656148',
    500: '#2b2803',
    950: '#000000',
  },
}
SCSS
$custom: #2b2803;
$custom-light: #656148;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2803",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 55.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27177,
    "c": 0.05404,
    "h": 104.8
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#2B2803
secondary
#1B216F
accent
#3AFD2B
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2803

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

Preview Lab → · Contrast checker → · Palette generator →

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