#252A01#252A01

#252A01 is a dark, moderate yellow. Relative luminance 0.021; OKLCH L 27.1% C 0.061 H 116.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#252A01
RGBrgb(37, 42, 1)
HSLhsl(67, 95%, 8%)
HSVhsv(67, 98%, 16%)
CMYKcmyk(11.9%, 0%, 97.6%, 83.5%)
CIE-LABlab(15.76, -8.83, 22.29)
CIE-LCHlch(15.76, 23.98, 111.61°)
OKLaboklab(27.07% -0.0272 0.0545)
OKLCHoklch(27.07% 0.061 116.6)
XYZxyz(1.5964, 2.0515, 0.3406)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A01 #06012A
analogous
#2A1A01 #252A01 #102A01
triadic
#252A01 #01252A #2A0125
tetradic
#252A01 #012A1A #06012A #2A0110
square
#252A01 #012A1A #06012A #2A0110
split-complementary
#252A01 #01102A #1A012A
monochromatic
#1A1E01 #1A1E01 #252A01 #5A6602 #8EA204

Accessibility & contrast

On white

14.89
#252A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252A01
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A01#FFFFFF#000000##FFFFFF
##252A011.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2D2804
Tritanopia (blue-blind)
#282722
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #252a01;
/* rgb */ color: rgb(37, 42, 1);
/* oklch */ color: oklch(27.1% 0.061 116.6);
Tailwind
colors: {
  custom: {
    50: '#606347',
    500: '#252a01',
    950: '#000000',
  },
}
SCSS
$custom: #252a01;
$custom-light: #606347;
$custom-dark: #000000;
JSON
{
  "hex": "#252a01",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 67.317,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.27074,
    "c": 0.06087,
    "h": 116.6
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#252A01
secondary
#211670
accent
#29FF43
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #252A01

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

Preview Lab → · Contrast checker → · Palette generator →

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