#2B2F07#2B2F07

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

Color values

HEX#2B2F07
RGBrgb(43, 47, 7)
HSLhsl(66, 74%, 11%)
HSVhsv(66, 85%, 18%)
CMYKcmyk(8.5%, 0%, 85.1%, 81.6%)
CIE-LABlab(18.20, -8.19, 22.97)
CIE-LCHlch(18.20, 24.39, 109.63°)
OKLaboklab(29.2% -0.0248 0.0531)
OKLCHoklch(29.2% 0.059 115)
XYZxyz(2.0512, 2.5620, 0.5874)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F07 #0B072F
analogous
#2F1F07 #2B2F07 #172F07
triadic
#2B2F07 #072B2F #2F072B
tetradic
#2B2F07 #072F1F #0B072F #2F0717
square
#2B2F07 #072F1F #0B072F #2F0717
split-complementary
#2B2F07 #07172F #1F072F
monochromatic
#181B04 #181B04 #2B2F07 #5C640F #8C9A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2F07#FFFFFF#000000##FFFFFF
##2B2F071.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)
#332C03
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#2E2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f07;
/* rgb */ color: rgb(43, 47, 7);
/* oklch */ color: oklch(29.2% 0.059 115.0);
Tailwind
colors: {
  custom: {
    50: '#66674a',
    500: '#2b2f07',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f07;
$custom-light: #66674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f07",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 66,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29199,
    "c": 0.05865,
    "h": 115
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#2B2F07
secondary
#2B236F
accent
#37F14A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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