#2A250F#2A250F

#2A250F is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.4% C 0.037 H 96.8°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#2A250F
RGBrgb(42, 37, 15)
HSLhsl(49, 47%, 11%)
HSVhsv(49, 64%, 16%)
CMYKcmyk(0%, 11.9%, 64.3%, 83.5%)
CIE-LABlab(14.68, -1.41, 15.02)
CIE-LCHlch(14.68, 15.09, 95.36°)
OKLaboklab(26.4% -0.0044 0.0364)
OKLCHoklch(26.4% 0.037 96.8)
XYZxyz(1.7027, 1.8499, 0.7192)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A250F #0F142A
analogous
#2A170F #2A250F #212A0F
triadic
#2A250F #0F2A25 #250F2A
tetradic
#2A250F #0F2A17 #0F142A #2A0F21
square
#2A250F #0F2A17 #0F142A #2A0F21
split-complementary
#2A250F #0F212A #170F2A
monochromatic
#171408 #171408 #2A250F #574D1F #84742F

Accessibility & contrast

On white

15.33
#2A250F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A250F
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A250F#FFFFFF#000000##FFFFFF
##2A250F1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240D
Deuteranopia (green-blind)
#2A2610
Tritanopia (blue-blind)
#2E2220
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2a250f;
/* rgb */ color: rgb(42, 37, 15);
/* oklch */ color: oklch(26.4% 0.037 96.8);
Tailwind
colors: {
  custom: {
    50: '#645f4e',
    500: '#2a250f',
    950: '#000000',
  },
}
SCSS
$custom: #2a250f;
$custom-light: #645f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a250f",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 15
  },
  "hsl": {
    "h": 48.889,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.264,
    "c": 0.0367,
    "h": 96.8
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#2A250F
secondary
#323B63
accent
#6AD751
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A250F

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

Preview Lab → · Contrast checker → · Palette generator →

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