#252A07#252A07

#252A07 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.2% C 0.054 H 117.1°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#252A07
RGBrgb(37, 42, 7)
HSLhsl(69, 71%, 10%)
HSVhsv(69, 83%, 16%)
CMYKcmyk(11.9%, 0%, 83.3%, 83.5%)
CIE-LABlab(15.82, -8.25, 19.93)
CIE-LCHlch(15.82, 21.57, 112.47°)
OKLaboklab(27.15% -0.0245 0.048)
OKLCHoklch(27.15% 0.054 117.1)
XYZxyz(1.6293, 2.0646, 0.5136)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A07 #0C072A
analogous
#2A1E07 #252A07 #142A07
triadic
#252A07 #07252A #2A0725
tetradic
#252A07 #072A1E #0C072A #2A0714
square
#252A07 #072A1E #0C072A #2A0714
split-complementary
#252A07 #07142A #1E072A
monochromatic
#171A04 #171A04 #252A07 #535E10 #819318

Accessibility & contrast

On white

14.86
#252A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#252A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A07
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A07#FFFFFF#000000##FFFFFF
##252A071.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2D2809
Tritanopia (blue-blind)
#282723
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #252a07;
/* rgb */ color: rgb(37, 42, 7);
/* oklch */ color: oklch(27.2% 0.054 117.1);
Tailwind
colors: {
  custom: {
    50: '#60634a',
    500: '#252a07',
    950: '#000000',
  },
}
SCSS
$custom: #252a07;
$custom-light: #60634a;
$custom-dark: #000000;
JSON
{
  "hex": "#252a07",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 68.571,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2715,
    "c": 0.05386,
    "h": 117.1
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#252A07
secondary
#2D236A
accent
#3AEE53
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #252A07

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

Preview Lab → · Contrast checker → · Palette generator →

#252A07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva