#281F00#281F00

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

Color values

HEX#281F00
RGBrgb(40, 31, 0)
HSLhsl(47, 100%, 8%)
HSVhsv(47, 100%, 16%)
CMYKcmyk(0%, 22.5%, 100%, 84.3%)
CIE-LABlab(12.16, 0.14, 18.05)
CIE-LCHlch(12.16, 18.05, 89.55°)
OKLaboklab(24.29% -0.0028 0.0497)
OKLCHoklch(24.29% 0.05 93.2)
XYZxyz(1.3651, 1.4312, 0.2043)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281F00 #000928
analogous
#280B00 #281F00 #1D2800
triadic
#281F00 #00281F #1F0028
tetradic
#281F00 #00280B #000928 #28001D
square
#281F00 #00280B #000928 #28001D
split-complementary
#281F00 #001D28 #0B0028
monochromatic
#1F1800 #1F1800 #281F00 #654E00 #A27E00

Accessibility & contrast

On white

16.33
#281F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281F00
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281F00#FFFFFF#000000##FFFFFF
##281F001.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281f00;
/* rgb */ color: rgb(40, 31, 0);
/* oklch */ color: oklch(24.3% 0.050 93.2);
Tailwind
colors: {
  custom: {
    50: '#635a46',
    500: '#281f00',
    950: '#000000',
  },
}
SCSS
$custom: #281f00;
$custom-light: #635a46;
$custom-dark: #000000;
JSON
{
  "hex": "#281f00",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 46.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24287,
    "c": 0.04974,
    "h": 93.2
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#281F00
secondary
#142970
accent
#59FF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#050300
muted
#7A7877

Preview Lab

Preview with #281F00

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

Preview Lab → · Contrast checker → · Palette generator →

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