#2B3001#2B3001

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

Color values

HEX#2B3001
RGBrgb(43, 48, 1)
HSLhsl(66, 96%, 10%)
HSVhsv(66, 98%, 19%)
CMYKcmyk(10.4%, 0%, 97.9%, 81.2%)
CIE-LABlab(18.50, -9.31, 25.77)
CIE-LCHlch(18.50, 27.40, 109.86°)
OKLaboklab(29.42% -0.0289 0.0594)
OKLCHoklch(29.42% 0.066 115.9)
XYZxyz(2.0588, 2.6297, 0.4278)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3001 #060130
analogous
#301E01 #2B3001 #143001
triadic
#2B3001 #012B30 #30012B
tetradic
#2B3001 #01301E #060130 #300114
square
#2B3001 #01301E #060130 #300114
split-complementary
#2B3001 #011430 #1E0130
monochromatic
#1B1E01 #1B1E01 #2B3001 #616C02 #96A803

Accessibility & contrast

On white

13.76
#2B3001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3001
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3001#FFFFFF#000000##FFFFFF
##2B30011.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3001;
/* rgb */ color: rgb(43, 48, 1);
/* oklch */ color: oklch(29.4% 0.066 115.9);
Tailwind
colors: {
  custom: {
    50: '#666847',
    500: '#2b3001',
    950: '#000000',
  },
}
SCSS
$custom: #2b3001;
$custom-light: #666847;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3001",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 1
  },
  "hsl": {
    "h": 66.383,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2942,
    "c": 0.06608,
    "h": 115.9
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#2B3001
secondary
#211776
accent
#29FF40
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2B3001

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

Preview Lab → · Contrast checker → · Palette generator →

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