#2B2F02#2B2F02

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

Color values

HEX#2B2F02
RGBrgb(43, 47, 2)
HSLhsl(65, 92%, 10%)
HSVhsv(65, 96%, 18%)
CMYKcmyk(8.5%, 0%, 95.7%, 81.6%)
CIE-LABlab(18.15, -8.60, 24.95)
CIE-LCHlch(18.15, 26.39, 109.03°)
OKLaboklab(29.14% -0.0268 0.0578)
OKLCHoklch(29.14% 0.064 114.8)
XYZxyz(2.0238, 2.5510, 0.4432)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F02 #06022F
analogous
#2F1D02 #2B2F02 #152F02
triadic
#2B2F02 #022B2F #2F022B
tetradic
#2B2F02 #022F1D #06022F #2F0215
square
#2B2F02 #022F1D #06022F #2F0215
split-complementary
#2B2F02 #02152F #1D022F
monochromatic
#1B1D01 #1B1D01 #2B2F02 #616A04 #96A407

Accessibility & contrast

On white

13.91
#2B2F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2B2F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F02
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F02#FFFFFF#000000##FFFFFF
##2B2F021.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#332D05
Tritanopia (blue-blind)
#2F2B27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f02;
/* rgb */ color: rgb(43, 47, 2);
/* oklch */ color: oklch(29.1% 0.064 114.8);
Tailwind
colors: {
  custom: {
    50: '#666748',
    500: '#2b2f02',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f02;
$custom-light: #666748;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f02",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 65.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29144,
    "c": 0.06373,
    "h": 114.8
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#2B2F02
secondary
#211974
accent
#29FF3C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2B2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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