#2B2F04#2B2F04

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

Color values

HEX#2B2F04
RGBrgb(43, 47, 4)
HSLhsl(66, 84%, 10%)
HSVhsv(66, 91%, 18%)
CMYKcmyk(8.5%, 0%, 91.5%, 81.6%)
CIE-LABlab(18.17, -8.44, 24.16)
CIE-LCHlch(18.17, 25.59, 109.25°)
OKLaboklab(29.17% -0.026 0.0559)
OKLCHoklch(29.17% 0.062 114.9)
XYZxyz(2.0348, 2.5554, 0.5009)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F04 #08042F
analogous
#2F1D04 #2B2F04 #162F04
triadic
#2B2F04 #042B2F #2F042B
tetradic
#2B2F04 #042F1D #08042F #2F0416
square
#2B2F04 #042F1D #08042F #2F0416
split-complementary
#2B2F04 #04162F #1D042F
monochromatic
#1A1C02 #1A1C02 #2B2F04 #5F6709 #92A00E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2F04#FFFFFF#000000##FFFFFF
##2B2F041.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)
#332D07
Tritanopia (blue-blind)
#2F2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f04;
/* rgb */ color: rgb(43, 47, 4);
/* oklch */ color: oklch(29.2% 0.062 114.9);
Tailwind
colors: {
  custom: {
    50: '#666749',
    500: '#2b2f04',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f04;
$custom-light: #666749;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f04",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 65.581,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.29166,
    "c": 0.06165,
    "h": 114.9
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#2B2F04
secondary
#251D72
accent
#2DFB40
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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