#2F2E07#2F2E07

#2F2E07 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.056 H 108.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#2F2E07
RGBrgb(47, 46, 7)
HSLhsl(59, 74%, 11%)
HSVhsv(59, 85%, 18%)
CMYKcmyk(0%, 2.1%, 85.1%, 81.6%)
CIE-LABlab(18.25, -5.40, 23.13)
CIE-LCHlch(18.25, 23.75, 103.13°)
OKLaboklab(29.34% -0.0173 0.0534)
OKLCHoklch(29.34% 0.056 108)
XYZxyz(2.1877, 2.5737, 0.5825)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E07 #07082F
analogous
#2F1A07 #2F2E07 #1C2F07
triadic
#2F2E07 #072F2E #2E072F
tetradic
#2F2E07 #072F1A #07082F #2F071C
square
#2F2E07 #072F1A #07082F #2F071C
split-complementary
#2F2E07 #071C2F #1A072F
monochromatic
#1B1A04 #1B1A04 #2F2E07 #64620F #9A9617

Accessibility & contrast

On white

13.86
#2F2E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E07
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E07#FFFFFF#000000##FFFFFF
##2F2E071.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#332A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2e07;
/* rgb */ color: rgb(47, 46, 7);
/* oklch */ color: oklch(29.3% 0.056 108.0);
Tailwind
colors: {
  custom: {
    50: '#69664a',
    500: '#2f2e07',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e07;
$custom-light: #69664a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e07",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 58.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2934,
    "c": 0.0561,
    "h": 108
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#2F2E07
secondary
#23256F
accent
#3CF137
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2E07

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

Preview Lab → · Contrast checker → · Palette generator →

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