#252807#252807

#252807 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.051 H 114.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#252807
RGBrgb(37, 40, 7)
HSLhsl(65, 70%, 9%)
HSVhsv(65, 83%, 16%)
CMYKcmyk(7.5%, 0%, 82.5%, 84.3%)
CIE-LABlab(15.10, -6.96, 19.01)
CIE-LCHlch(15.10, 20.24, 110.12°)
OKLaboklab(26.57% -0.0209 0.0464)
OKLCHoklch(26.57% 0.051 114.3)
XYZxyz(1.5601, 1.9263, 0.4906)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252807 #0A0728
analogous
#281B07 #252807 #152807
triadic
#252807 #072528 #280725
tetradic
#252807 #07281B #0A0728 #280715
square
#252807 #07281B #0A0728 #280715
split-complementary
#252807 #071528 #1B0728
monochromatic
#181A05 #181A05 #252807 #555C10 #859019

Accessibility & contrast

On white

15.16
#252807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#252807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252807
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252807#FFFFFF#000000##FFFFFF
##2528071.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#2B2609
Tritanopia (blue-blind)
#282521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #252807;
/* rgb */ color: rgb(37, 40, 7);
/* oklch */ color: oklch(26.6% 0.051 114.3);
Tailwind
colors: {
  custom: {
    50: '#60614a',
    500: '#252807',
    950: '#000000',
  },
}
SCSS
$custom: #252807;
$custom-light: #60614a;
$custom-dark: #000000;
JSON
{
  "hex": "#252807",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 65.455,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26567,
    "c": 0.05091,
    "h": 114.3
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#252807
secondary
#292368
accent
#3BED4B
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #252807

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

Preview Lab → · Contrast checker → · Palette generator →

#252807 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva