#2F290F#2F290F

#2F290F is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.042 H 96.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#2F290F
RGBrgb(47, 41, 15)
HSLhsl(49, 52%, 12%)
HSVhsv(49, 68%, 18%)
CMYKcmyk(0%, 12.8%, 68.1%, 81.6%)
CIE-LABlab(16.63, -1.41, 17.61)
CIE-LCHlch(16.63, 17.66, 94.59°)
OKLaboklab(28.08% -0.0048 0.0416)
OKLCHoklch(28.08% 0.042 96.5)
XYZxyz(2.0515, 2.2248, 0.7732)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F290F #0F152F
analogous
#2F190F #2F290F #252F0F
triadic
#2F290F #0F2F29 #290F2F
tetradic
#2F290F #0F2F19 #0F152F #2F0F25
square
#2F290F #0F2F19 #0F152F #2F0F25
split-complementary
#2F290F #0F252F #190F2F
monochromatic
#171407 #171407 #2F290F #5D511E #8C7A2D

Accessibility & contrast

On white

14.53
#2F290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2F290F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F290F
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F290F#FFFFFF#000000##FFFFFF
##2F290F1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f290f;
/* rgb */ color: rgb(47, 41, 15);
/* oklch */ color: oklch(28.1% 0.042 96.5);
Tailwind
colors: {
  custom: {
    50: '#69624e',
    500: '#2f290f',
    950: '#000000',
  },
}
SCSS
$custom: #2f290f;
$custom-light: #69624e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f290f",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 48.75,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28078,
    "c": 0.0419,
    "h": 96.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#2F290F
secondary
#313C69
accent
#67DB4D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F290F

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

Preview Lab → · Contrast checker → · Palette generator →

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