#2A2F09#2A2F09

#2A2F09 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.057 H 116.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#2A2F09
RGBrgb(42, 47, 9)
HSLhsl(68, 68%, 11%)
HSVhsv(68, 81%, 18%)
CMYKcmyk(10.6%, 0%, 80.9%, 81.6%)
CIE-LABlab(18.12, -8.56, 22.04)
CIE-LCHlch(18.12, 23.65, 111.22°)
OKLaboklab(29.12% -0.0255 0.0511)
OKLCHoklch(29.12% 0.057 116.5)
XYZxyz(2.0207, 2.5450, 0.6432)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F09 #0E092F
analogous
#2F2109 #2A2F09 #172F09
triadic
#2A2F09 #092A2F #2F092A
tetradic
#2A2F09 #092F21 #0E092F #2F0917
square
#2A2F09 #092F21 #0E092F #2F0917
split-complementary
#2A2F09 #09172F #21092F
monochromatic
#171A05 #171A05 #2A2F09 #586213 #86961D

Accessibility & contrast

On white

13.92
#2A2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F09
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F09#FFFFFF#000000##FFFFFF
##2A2F091.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#322D0C
Tritanopia (blue-blind)
#2D2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f09;
/* rgb */ color: rgb(42, 47, 9);
/* oklch */ color: oklch(29.1% 0.057 116.5);
Tailwind
colors: {
  custom: {
    50: '#65674b',
    500: '#2a2f09',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f09;
$custom-light: #65674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f09",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 67.895,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29121,
    "c": 0.0571,
    "h": 116.5
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#2A2F09
secondary
#30276D
accent
#3DEB54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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