#2F2B07#2F2B07

#2F2B07 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.053 H 102.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#2F2B07
RGBrgb(47, 43, 7)
HSLhsl(54, 74%, 11%)
HSVhsv(54, 85%, 18%)
CMYKcmyk(0%, 8.5%, 85.1%, 81.6%)
CIE-LABlab(17.21, -3.43, 21.89)
CIE-LCHlch(17.21, 22.15, 98.91°)
OKLaboklab(28.52% -0.0117 0.0512)
OKLCHoklch(28.52% 0.053 102.9)
XYZxyz(2.0746, 2.3475, 0.5448)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B07 #070B2F
analogous
#2F1707 #2F2B07 #1F2F07
triadic
#2F2B07 #072F2B #2B072F
tetradic
#2F2B07 #072F17 #070B2F #2F071F
square
#2F2B07 #072F17 #070B2F #2F071F
split-complementary
#2F2B07 #071F2F #17072F
monochromatic
#1B1804 #1B1804 #2F2B07 #645C0F #9A8C17

Accessibility & contrast

On white

14.29
#2F2B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B07
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B07#FFFFFF#000000##FFFFFF
##2F2B071.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302903
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b07;
/* rgb */ color: rgb(47, 43, 7);
/* oklch */ color: oklch(28.5% 0.053 102.9);
Tailwind
colors: {
  custom: {
    50: '#69644a',
    500: '#2f2b07',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b07;
$custom-light: #69644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b07",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 54,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28516,
    "c": 0.05256,
    "h": 102.9
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#2F2B07
secondary
#232B6F
accent
#4AF137
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B07

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

Preview Lab → · Contrast checker → · Palette generator →

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