#281E00#281E00

#281E00 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.0% C 0.049 H 90.9°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#281E00
RGBrgb(40, 30, 0)
HSLhsl(45, 100%, 8%)
HSVhsv(45, 100%, 16%)
CMYKcmyk(0%, 25%, 100%, 84.3%)
CIE-LABlab(11.82, 0.85, 17.58)
CIE-LCHlch(11.82, 17.60, 87.25°)
OKLaboklab(24.02% -0.0008 0.0491)
OKLCHoklch(24.02% 0.049 90.9)
XYZxyz(1.3394, 1.3798, 0.1958)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E00 #000A28
analogous
#280A00 #281E00 #1E2800
triadic
#281E00 #00281E #1E0028
tetradic
#281E00 #00280A #000A28 #28001E
square
#281E00 #00280A #000A28 #28001E
split-complementary
#281E00 #001E28 #0A0028
monochromatic
#1F1700 #1F1700 #281E00 #654C00 #A27A00

Accessibility & contrast

On white

16.46
#281E00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#281E00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E00
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E00#FFFFFF#000000##FFFFFF
##281E001.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#262001
Tritanopia (blue-blind)
#2C1A18
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281e00;
/* rgb */ color: rgb(40, 30, 0);
/* oklch */ color: oklch(24.0% 0.049 90.9);
Tailwind
colors: {
  custom: {
    50: '#635946',
    500: '#281e00',
    950: '#000000',
  },
}
SCSS
$custom: #281e00;
$custom-light: #635946;
$custom-dark: #000000;
JSON
{
  "hex": "#281e00",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 0
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24018,
    "c": 0.0491,
    "h": 90.9
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#281E00
secondary
#142B70
accent
#5EFF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#050300
muted
#7A7877

Preview Lab

Preview with #281E00

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

Preview Lab → · Contrast checker → · Palette generator →

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