#2F2807#2F2807

#2F2807 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.049 H 97.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#2F2807
RGBrgb(47, 40, 7)
HSLhsl(50, 74%, 11%)
HSVhsv(50, 85%, 18%)
CMYKcmyk(0%, 14.9%, 85.1%, 81.6%)
CIE-LABlab(16.19, -1.43, 20.63)
CIE-LCHlch(16.19, 20.68, 93.96°)
OKLaboklab(27.71% -0.0061 0.0491)
OKLCHoklch(27.71% 0.049 97)
XYZxyz(1.9695, 2.1374, 0.5098)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2807 #070E2F
analogous
#2F1407 #2F2807 #222F07
triadic
#2F2807 #072F28 #28072F
tetradic
#2F2807 #072F14 #070E2F #2F0722
square
#2F2807 #072F14 #070E2F #2F0722
split-complementary
#2F2807 #07222F #14072F
monochromatic
#1B1704 #1B1704 #2F2807 #64550F #9A8317

Accessibility & contrast

On white

14.71
#2F2807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F2807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2807
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2807#FFFFFF#000000##FFFFFF
##2F28071.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#332421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f2807;
/* rgb */ color: rgb(47, 40, 7);
/* oklch */ color: oklch(27.7% 0.049 97.0);
Tailwind
colors: {
  custom: {
    50: '#69614a',
    500: '#2f2807',
    950: '#000000',
  },
}
SCSS
$custom: #2f2807;
$custom-light: #69614a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2807",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 49.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27705,
    "c": 0.04946,
    "h": 97
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#2F2807
secondary
#23306F
accent
#58F137
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2807

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

Preview Lab → · Contrast checker → · Palette generator →

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