#2B3103#2B3103

#2B3103 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.065 H 117.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2B3103
RGBrgb(43, 49, 3)
HSLhsl(68, 88%, 10%)
HSVhsv(68, 94%, 19%)
CMYKcmyk(12.2%, 0%, 93.9%, 80.8%)
CIE-LABlab(18.87, -9.76, 25.40)
CIE-LCHlch(18.87, 27.21, 111.03°)
OKLaboklab(29.73% -0.0298 0.0582)
OKLCHoklch(29.73% 0.065 117.1)
XYZxyz(2.1111, 2.7168, 0.4993)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3103 #090331
analogous
#312003 #2B3103 #143103
triadic
#2B3103 #032B31 #31032B
tetradic
#2B3103 #033120 #090331 #310314
square
#2B3103 #033120 #090331 #310314
split-complementary
#2B3103 #031431 #200331
monochromatic
#191D02 #191D02 #2B3103 #5E6B07 #90A40A

Accessibility & contrast

On white

13.61
#2B3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B3103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3103
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3103#FFFFFF#000000##FFFFFF
##2B31031.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#352E06
Tritanopia (blue-blind)
#2E2E28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b3103;
/* rgb */ color: rgb(43, 49, 3);
/* oklch */ color: oklch(29.7% 0.065 117.1);
Tailwind
colors: {
  custom: {
    50: '#666948',
    500: '#2b3103',
    950: '#000000',
  },
}
SCSS
$custom: #2b3103;
$custom-light: #666948;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3103",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 67.826,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.06537,
    "h": 117.1
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#2B3103
secondary
#271B74
accent
#29FF45
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3103

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

Preview Lab → · Contrast checker → · Palette generator →

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