#2A2507#2A2507

#2A2507 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.3% C 0.046 H 99.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#2A2507
RGBrgb(42, 37, 7)
HSLhsl(51, 71%, 10%)
HSVhsv(51, 83%, 16%)
CMYKcmyk(0%, 11.9%, 83.3%, 83.5%)
CIE-LABlab(14.57, -2.19, 18.44)
CIE-LCHlch(14.57, 18.57, 96.77°)
OKLaboklab(26.28% -0.0079 0.0454)
OKLCHoklch(26.28% 0.046 99.8)
XYZxyz(1.6548, 1.8308, 0.4672)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2507 #070C2A
analogous
#2A1407 #2A2507 #1E2A07
triadic
#2A2507 #072A25 #25072A
tetradic
#2A2507 #072A14 #070C2A #2A071E
square
#2A2507 #072A14 #070C2A #2A071E
split-complementary
#2A2507 #071E2A #14072A
monochromatic
#1A1704 #1A1704 #2A2507 #5E5310 #938118

Accessibility & contrast

On white

15.37
#2A2507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2A2507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2507
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2507#FFFFFF#000000##FFFFFF
##2A25071.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292404
Deuteranopia (green-blind)
#2B2608
Tritanopia (blue-blind)
#2E221F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2a2507;
/* rgb */ color: rgb(42, 37, 7);
/* oklch */ color: oklch(26.3% 0.046 99.8);
Tailwind
colors: {
  custom: {
    50: '#645f4a',
    500: '#2a2507',
    950: '#000000',
  },
}
SCSS
$custom: #2a2507;
$custom-light: #645f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2507",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 7
  },
  "hsl": {
    "h": 51.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26282,
    "c": 0.04611,
    "h": 99.8
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#2A2507
secondary
#232D6A
accent
#53EE3A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A2507

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

Preview Lab → · Contrast checker → · Palette generator →

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