#2A2F0B#2A2F0B

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

Color values

HEX#2A2F0B
RGBrgb(42, 47, 11)
HSLhsl(68, 62%, 11%)
HSVhsv(68, 77%, 18%)
CMYKcmyk(10.6%, 0%, 76.6%, 81.6%)
CIE-LABlab(18.14, -8.39, 21.24)
CIE-LCHlch(18.14, 22.84, 111.56°)
OKLaboklab(29.14% -0.0248 0.0493)
OKLCHoklch(29.14% 0.055 116.7)
XYZxyz(2.0318, 2.5495, 0.7016)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F0B #100B2F
analogous
#2F220B #2A2F0B #182F0B
triadic
#2A2F0B #0B2A2F #2F0B2A
tetradic
#2A2F0B #0B2F22 #100B2F #2F0B18
square
#2A2F0B #0B2F22 #100B2F #2F0B18
split-complementary
#2A2F0B #0B182F #220B2F
monochromatic
#161906 #161906 #2A2F0B #566117 #839222

Accessibility & contrast

On white

13.91
#2A2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F0B
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F0B#FFFFFF#000000##FFFFFF
##2A2F0B1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2f0b;
/* rgb */ color: rgb(42, 47, 11);
/* oklch */ color: oklch(29.1% 0.055 116.7);
Tailwind
colors: {
  custom: {
    50: '#65674c',
    500: '#2a2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f0b;
$custom-light: #65674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f0b",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 68.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29143,
    "c": 0.05518,
    "h": 116.7
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#2A2F0B
secondary
#332A6B
accent
#43E559
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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