#2F270A#2F270A

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

Color values

HEX#2F270A
RGBrgb(47, 39, 10)
HSLhsl(47, 65%, 11%)
HSVhsv(47, 79%, 18%)
CMYKcmyk(0%, 17%, 78.7%, 81.6%)
CIE-LABlab(15.89, -0.51, 19.02)
CIE-LCHlch(15.89, 19.03, 91.53°)
OKLaboklab(27.48% -0.0029 0.0454)
OKLCHoklch(27.48% 0.045 93.7)
XYZxyz(1.9527, 2.0774, 0.5852)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F270A #0A122F
analogous
#2F140A #2F270A #242F0A
triadic
#2F270A #0A2F27 #270A2F
tetradic
#2F270A #0A2F14 #0A122F #2F0A24
square
#2F270A #0A2F14 #0A122F #2F0A24
split-complementary
#2F270A #0A242F #140A2F
monochromatic
#191505 #191505 #2F270A #615115 #947B1F

Accessibility & contrast

On white

14.84
#2F270A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F270A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F270A#FFFFFF#000000##FFFFFF
##2F270A1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f270a;
/* rgb */ color: rgb(47, 39, 10);
/* oklch */ color: oklch(27.5% 0.045 93.7);
Tailwind
colors: {
  custom: {
    50: '#69604b',
    500: '#2f270a',
    950: '#000000',
  },
}
SCSS
$custom: #2f270a;
$custom-light: #69604b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f270a",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 10
  },
  "hsl": {
    "h": 47.027,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27475,
    "c": 0.04546,
    "h": 93.7
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#2F270A
secondary
#29376C
accent
#64E840
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F270A

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

Preview Lab → · Contrast checker → · Palette generator →

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