#2B3102#2B3102

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

Color values

HEX#2B3102
RGBrgb(43, 49, 2)
HSLhsl(68, 92%, 10%)
HSVhsv(68, 96%, 19%)
CMYKcmyk(12.2%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.86, -9.84, 25.79)
CIE-LCHlch(18.86, 27.61, 110.89°)
OKLaboklab(29.72% -0.0302 0.0591)
OKLCHoklch(29.72% 0.066 117)
XYZxyz(2.1056, 2.7146, 0.4705)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3102 #080231
analogous
#312002 #2B3102 #133102
triadic
#2B3102 #022B31 #31022B
tetradic
#2B3102 #023120 #080231 #310213
square
#2B3102 #023120 #080231 #310213
split-complementary
#2B3102 #021331 #200231
monochromatic
#1A1D01 #1A1D01 #2B3102 #5F6C04 #92A707

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3102#FFFFFF#000000##FFFFFF
##2B31021.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)
#352E05
Tritanopia (blue-blind)
#2E2E28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b3102;
/* rgb */ color: rgb(43, 49, 2);
/* oklch */ color: oklch(29.7% 0.066 117.0);
Tailwind
colors: {
  custom: {
    50: '#666948',
    500: '#2b3102',
    950: '#000000',
  },
}
SCSS
$custom: #2b3102;
$custom-light: #666948;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3102",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 67.66,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.29719,
    "c": 0.06638,
    "h": 117
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3102

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

Preview Lab → · Contrast checker → · Palette generator →

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