#2B3003#2B3003

#2B3003 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.064 H 116.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#2B3003
RGBrgb(43, 48, 3)
HSLhsl(67, 88%, 10%)
HSVhsv(67, 94%, 19%)
CMYKcmyk(10.4%, 0%, 93.8%, 81.2%)
CIE-LABlab(18.51, -9.15, 24.98)
CIE-LCHlch(18.51, 26.60, 110.11°)
OKLaboklab(29.44% -0.0281 0.0575)
OKLCHoklch(29.44% 0.064 116)
XYZxyz(2.0697, 2.6341, 0.4855)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3003 #080330
analogous
#301F03 #2B3003 #143003
triadic
#2B3003 #032B30 #30032B
tetradic
#2B3003 #03301F #080330 #300314
square
#2B3003 #03301F #080330 #300314
split-complementary
#2B3003 #031430 #1F0330
monochromatic
#1A1D02 #1A1D02 #2B3003 #5F6A07 #92A30A

Accessibility & contrast

On white

13.75
#2B3003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B3003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3003
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3003#FFFFFF#000000##FFFFFF
##2B30031.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#342D06
Tritanopia (blue-blind)
#2F2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b3003;
/* rgb */ color: rgb(43, 48, 3);
/* oklch */ color: oklch(29.4% 0.064 116.0);
Tailwind
colors: {
  custom: {
    50: '#666848',
    500: '#2b3003',
    950: '#000000',
  },
}
SCSS
$custom: #2b3003;
$custom-light: #666848;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3003",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 3
  },
  "hsl": {
    "h": 66.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.06401,
    "h": 116
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#2B3003
secondary
#251B73
accent
#29FE41
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3003

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

Preview Lab → · Contrast checker → · Palette generator →

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