#2F270D#2F270D

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

Color values

HEX#2F270D
RGBrgb(47, 39, 13)
HSLhsl(46, 57%, 12%)
HSVhsv(46, 72%, 18%)
CMYKcmyk(0%, 17%, 72.3%, 81.6%)
CIE-LABlab(15.92, -0.25, 17.74)
CIE-LCHlch(15.92, 17.74, 90.81°)
OKLaboklab(27.52% -0.0017 0.0422)
OKLCHoklch(27.52% 0.042 92.3)
XYZxyz(1.9705, 2.0845, 0.6793)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F270D #0D152F
analogous
#2F160D #2F270D #262F0D
triadic
#2F270D #0D2F27 #270D2F
tetradic
#2F270D #0D2F16 #0D152F #2F0D26
square
#2F270D #0D2F16 #0D152F #2F0D26
split-complementary
#2F270D #0D262F #160D2F
monochromatic
#181407 #181407 #2F270D #5F4F1A #8F7728

Accessibility & contrast

On white

14.82
#2F270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F270D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F270D#FFFFFF#000000##FFFFFF
##2F270D1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f270d;
/* rgb */ color: rgb(47, 39, 13);
/* oklch */ color: oklch(27.5% 0.042 92.3);
Tailwind
colors: {
  custom: {
    50: '#69604d',
    500: '#2f270d',
    950: '#000000',
  },
}
SCSS
$custom: #2f270d;
$custom-light: #69604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f270d",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 45.882,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27516,
    "c": 0.04226,
    "h": 92.3
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#2F270D
secondary
#2E3C6A
accent
#6CE048
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F270D

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

Preview Lab → · Contrast checker → · Palette generator →

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