#2B3002#2B3002

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

Color values

HEX#2B3002
RGBrgb(43, 48, 2)
HSLhsl(67, 92%, 10%)
HSVhsv(67, 96%, 19%)
CMYKcmyk(10.4%, 0%, 95.8%, 81.2%)
CIE-LABlab(18.50, -9.23, 25.37)
CIE-LCHlch(18.50, 27.00, 109.99°)
OKLaboklab(29.43% -0.0285 0.0585)
OKLCHoklch(29.43% 0.065 116)
XYZxyz(2.0642, 2.6319, 0.4567)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3002 #070230
analogous
#301E02 #2B3002 #143002
triadic
#2B3002 #022B30 #30022B
tetradic
#2B3002 #02301E #070230 #300214
square
#2B3002 #02301E #070230 #300214
split-complementary
#2B3002 #021430 #1E0230
monochromatic
#1A1D01 #1A1D01 #2B3002 #606B04 #94A607

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3002#FFFFFF#000000##FFFFFF
##2B30021.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)
#342D05
Tritanopia (blue-blind)
#2F2C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b3002;
/* rgb */ color: rgb(43, 48, 2);
/* oklch */ color: oklch(29.4% 0.065 116.0);
Tailwind
colors: {
  custom: {
    50: '#666848',
    500: '#2b3002',
    950: '#000000',
  },
}
SCSS
$custom: #2b3002;
$custom-light: #666848;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3002",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 66.522,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29431,
    "c": 0.06504,
    "h": 116
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3002

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

Preview Lab → · Contrast checker → · Palette generator →

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