#281F01#281F01

#281F01 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.3% C 0.048 H 92.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#281F01
RGBrgb(40, 31, 1)
HSLhsl(46, 95%, 8%)
HSVhsv(46, 98%, 16%)
CMYKcmyk(0%, 22.5%, 97.5%, 84.3%)
CIE-LABlab(12.18, 0.24, 17.66)
CIE-LCHlch(12.18, 17.66, 89.21°)
OKLaboklab(24.3% -0.0022 0.0482)
OKLCHoklch(24.3% 0.048 92.6)
XYZxyz(1.3706, 1.4334, 0.2332)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281F01 #010A28
analogous
#280B01 #281F01 #1D2801
triadic
#281F01 #01281F #1F0128
tetradic
#281F01 #01280B #010A28 #28011D
square
#281F01 #01280B #010A28 #28011D
split-complementary
#281F01 #011D28 #0B0128
monochromatic
#1E1701 #1E1701 #281F01 #644D02 #9F7C04

Accessibility & contrast

On white

16.32
#281F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#281F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281F01
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281F01#FFFFFF#000000##FFFFFF
##281F011.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#262102
Tritanopia (blue-blind)
#2C1B19
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281f01;
/* rgb */ color: rgb(40, 31, 1);
/* oklch */ color: oklch(24.3% 0.048 92.6);
Tailwind
colors: {
  custom: {
    50: '#635a47',
    500: '#281f01',
    950: '#000000',
  },
}
SCSS
$custom: #281f01;
$custom-light: #635a47;
$custom-dark: #000000;
JSON
{
  "hex": "#281f01",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 46.154,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24303,
    "c": 0.04827,
    "h": 92.6
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#281F01
secondary
#162B6F
accent
#5AFF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#050300
muted
#7A7877

Preview Lab

Preview with #281F01

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

Preview Lab → · Contrast checker → · Palette generator →

#281F01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva