#2A2F0E#2A2F0E

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

Color values

HEX#2A2F0E
RGBrgb(42, 47, 14)
HSLhsl(69, 54%, 12%)
HSVhsv(69, 70%, 18%)
CMYKcmyk(10.6%, 0%, 70.2%, 81.6%)
CIE-LABlab(18.17, -8.11, 19.88)
CIE-LCHlch(18.17, 21.47, 112.19°)
OKLaboklab(29.18% -0.0236 0.0464)
OKLCHoklch(29.18% 0.052 117)
XYZxyz(2.0507, 2.5570, 0.8009)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F0E #130E2F
analogous
#2F240E #2A2F0E #1A2F0E
triadic
#2A2F0E #0E2A2F #2F0E2A
tetradic
#2A2F0E #0E2F24 #130E2F #2F0E1A
square
#2A2F0E #0E2F24 #130E2F #2F0E1A
split-complementary
#2A2F0E #0E1A2F #240E2F
monochromatic
#151807 #151807 #2A2F0E #545E1C #7E8D2A

Accessibility & contrast

On white

13.89
#2A2F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F0E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F0E#FFFFFF#000000##FFFFFF
##2A2F0E1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2f0e;
/* rgb */ color: rgb(42, 47, 14);
/* oklch */ color: oklch(29.2% 0.052 117.0);
Tailwind
colors: {
  custom: {
    50: '#64674e',
    500: '#2a2f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f0e;
$custom-light: #64674e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f0e",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 69.091,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29181,
    "c": 0.05202,
    "h": 117
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#2A2F0E
secondary
#382F69
accent
#4ADD61
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A2F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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