#2F2A07#2F2A07

#2F2A07 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.051 H 101.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2F2A07
RGBrgb(47, 42, 7)
HSLhsl(53, 74%, 11%)
HSVhsv(53, 85%, 18%)
CMYKcmyk(0%, 10.6%, 85.1%, 81.6%)
CIE-LABlab(16.87, -2.77, 21.47)
CIE-LCHlch(16.87, 21.65, 97.35°)
OKLaboklab(28.24% -0.0099 0.0505)
OKLCHoklch(28.24% 0.051 101.1)
XYZxyz(2.0387, 2.2757, 0.5328)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A07 #070C2F
analogous
#2F1607 #2F2A07 #202F07
triadic
#2F2A07 #072F2A #2A072F
tetradic
#2F2A07 #072F16 #070C2F #2F0720
square
#2F2A07 #072F16 #070C2F #2F0720
split-complementary
#2F2A07 #07202F #16072F
monochromatic
#1B1804 #1B1804 #2F2A07 #645A0F #9A8917

Accessibility & contrast

On white

14.43
#2F2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A07
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A07#FFFFFF#000000##FFFFFF
##2F2A071.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2803
Deuteranopia (green-blind)
#302A09
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a07;
/* rgb */ color: rgb(47, 42, 7);
/* oklch */ color: oklch(28.2% 0.051 101.1);
Tailwind
colors: {
  custom: {
    50: '#69634a',
    500: '#2f2a07',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a07;
$custom-light: #69634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a07",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 52.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28244,
    "c": 0.05148,
    "h": 101.1
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#2F2A07
secondary
#232D6F
accent
#4EF137
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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