#2B2F05#2B2F05

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

Color values

HEX#2B2F05
RGBrgb(43, 47, 5)
HSLhsl(66, 81%, 10%)
HSVhsv(66, 89%, 18%)
CMYKcmyk(8.5%, 0%, 89.4%, 81.6%)
CIE-LABlab(18.18, -8.36, 23.76)
CIE-LCHlch(18.18, 25.19, 109.38°)
OKLaboklab(29.18% -0.0256 0.055)
OKLCHoklch(29.18% 0.061 115)
XYZxyz(2.0402, 2.5576, 0.5297)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F05 #09052F
analogous
#2F1E05 #2B2F05 #162F05
triadic
#2B2F05 #052B2F #2F052B
tetradic
#2B2F05 #052F1E #09052F #2F0516
square
#2B2F05 #052F1E #09052F #2F0516
split-complementary
#2B2F05 #05162F #1E052F
monochromatic
#191C03 #191C03 #2B2F05 #5E660B #909E11

Accessibility & contrast

On white

13.89
#2B2F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F05
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F05#FFFFFF#000000##FFFFFF
##2B2F051.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2f05;
/* rgb */ color: rgb(43, 47, 5);
/* oklch */ color: oklch(29.2% 0.061 115.0);
Tailwind
colors: {
  custom: {
    50: '#666749',
    500: '#2b2f05',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f05;
$custom-light: #666749;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f05",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 65.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29177,
    "c": 0.06064,
    "h": 115
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#2B2F05
secondary
#271F71
accent
#31F744
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F05

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

Preview Lab → · Contrast checker → · Palette generator →

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