#2A2F0D#2A2F0D

#2A2F0D is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.2% C 0.053 H 116.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#2A2F0D
RGBrgb(42, 47, 13)
HSLhsl(69, 57%, 12%)
HSVhsv(69, 72%, 18%)
CMYKcmyk(10.6%, 0%, 72.3%, 81.6%)
CIE-LABlab(18.16, -8.21, 20.36)
CIE-LCHlch(18.16, 21.95, 111.96°)
OKLaboklab(29.17% -0.024 0.0474)
OKLCHoklch(29.17% 0.053 116.8)
XYZxyz(2.0440, 2.5544, 0.7661)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F0D #120D2F
analogous
#2F230D #2A2F0D #192F0D
triadic
#2A2F0D #0D2A2F #2F0D2A
tetradic
#2A2F0D #0D2F23 #120D2F #2F0D19
square
#2A2F0D #0D2F23 #120D2F #2F0D19
split-complementary
#2A2F0D #0D192F #230D2F
monochromatic
#151807 #151807 #2A2F0D #555F1A #808F28

Accessibility & contrast

On white

13.90
#2A2F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F0D
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F0D#FFFFFF#000000##FFFFFF
##2A2F0D1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C09
Deuteranopia (green-blind)
#322D0F
Tritanopia (blue-blind)
#2D2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f0d;
/* rgb */ color: rgb(42, 47, 13);
/* oklch */ color: oklch(29.2% 0.053 116.8);
Tailwind
colors: {
  custom: {
    50: '#65674d',
    500: '#2a2f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f0d;
$custom-light: #65674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f0d",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 68.824,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29167,
    "c": 0.05312,
    "h": 116.8
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#2A2F0D
secondary
#372E6A
accent
#48E05E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A2F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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