#2B3101#2B3101

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

Color values

HEX#2B3101
RGBrgb(43, 49, 1)
HSLhsl(68, 96%, 10%)
HSVhsv(68, 98%, 19%)
CMYKcmyk(12.2%, 0%, 98%, 80.8%)
CIE-LABlab(18.85, -9.93, 26.19)
CIE-LCHlch(18.85, 28.01, 110.76°)
OKLaboklab(29.71% -0.0305 0.0601)
OKLCHoklch(29.71% 0.067 117)
XYZxyz(2.1001, 2.7124, 0.4416)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3101 #070131
analogous
#311F01 #2B3101 #133101
triadic
#2B3101 #012B31 #31012B
tetradic
#2B3101 #01311F #070131 #310113
square
#2B3101 #01311F #070131 #310113
split-complementary
#2B3101 #011331 #1F0131
monochromatic
#1A1E01 #1A1E01 #2B3101 #606D02 #94A903

Accessibility & contrast

On white

13.62
#2B3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3101
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3101#FFFFFF#000000##FFFFFF
##2B31011.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3101;
/* rgb */ color: rgb(43, 49, 1);
/* oklch */ color: oklch(29.7% 0.067 117.0);
Tailwind
colors: {
  custom: {
    50: '#666947',
    500: '#2b3101',
    950: '#000000',
  },
}
SCSS
$custom: #2b3101;
$custom-light: #666947;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3101",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 67.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29708,
    "c": 0.06738,
    "h": 117
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#2B3101
secondary
#231777
accent
#29FF44
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2B3101

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

Preview Lab → · Contrast checker → · Palette generator →

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