#2F270B#2F270B

#2F270B is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.044 H 93.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2F270B
RGBrgb(47, 39, 11)
HSLhsl(47, 62%, 11%)
HSVhsv(47, 77%, 18%)
CMYKcmyk(0%, 17%, 76.6%, 81.6%)
CIE-LABlab(15.90, -0.43, 18.62)
CIE-LCHlch(15.90, 18.62, 91.31°)
OKLaboklab(27.49% -0.0026 0.0444)
OKLCHoklch(27.49% 0.044 93.3)
XYZxyz(1.9583, 2.0796, 0.6148)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F270B #0B132F
analogous
#2F150B #2F270B #252F0B
triadic
#2F270B #0B2F27 #270B2F
tetradic
#2F270B #0B2F15 #0B132F #2F0B25
square
#2F270B #0B2F15 #0B132F #2F0B25
split-complementary
#2F270B #0B252F #150B2F
monochromatic
#191506 #191506 #2F270B #615017 #927922

Accessibility & contrast

On white

14.83
#2F270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2F270B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F270B
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F270B#FFFFFF#000000##FFFFFF
##2F270B1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2608
Deuteranopia (green-blind)
#2E290C
Tritanopia (blue-blind)
#332321
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f270b;
/* rgb */ color: rgb(47, 39, 11);
/* oklch */ color: oklch(27.5% 0.044 93.3);
Tailwind
colors: {
  custom: {
    50: '#69604c',
    500: '#2f270b',
    950: '#000000',
  },
}
SCSS
$custom: #2f270b;
$custom-light: #69604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f270b",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 46.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27488,
    "c": 0.04443,
    "h": 93.3
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#2F270B
secondary
#2A396B
accent
#67E543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F270B

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

Preview Lab → · Contrast checker → · Palette generator →

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