#2B2F03#2B2F03

#2B2F03 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.2% C 0.063 H 114.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2F03
RGBrgb(43, 47, 3)
HSLhsl(65, 88%, 10%)
HSVhsv(65, 94%, 18%)
CMYKcmyk(8.5%, 0%, 93.6%, 81.6%)
CIE-LABlab(18.16, -8.52, 24.55)
CIE-LCHlch(18.16, 25.99, 109.14°)
OKLaboklab(29.15% -0.0264 0.0569)
OKLCHoklch(29.15% 0.063 114.9)
XYZxyz(2.0293, 2.5532, 0.4721)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F03 #07032F
analogous
#2F1D03 #2B2F03 #152F03
triadic
#2B2F03 #032B2F #2F032B
tetradic
#2B2F03 #032F1D #07032F #2F0315
square
#2B2F03 #032F1D #07032F #2F0315
split-complementary
#2B2F03 #03152F #1D032F
monochromatic
#1A1D02 #1A1D02 #2B2F03 #606907 #94A20A

Accessibility & contrast

On white

13.90
#2B2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F03
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F03#FFFFFF#000000##FFFFFF
##2B2F031.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2f03;
/* rgb */ color: rgb(43, 47, 3);
/* oklch */ color: oklch(29.2% 0.063 114.9);
Tailwind
colors: {
  custom: {
    50: '#666748',
    500: '#2b2f03',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f03;
$custom-light: #666748;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f03",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 65.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29155,
    "c": 0.06268,
    "h": 114.9
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#2B2F03
secondary
#231B73
accent
#2AFE3D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2B2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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