#282E01#282E01

#282E01 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.065 H 117.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#282E01
RGBrgb(40, 46, 1)
HSLhsl(68, 96%, 9%)
HSVhsv(68, 98%, 18%)
CMYKcmyk(13%, 0%, 97.8%, 82%)
CIE-LABlab(17.49, -9.69, 24.51)
CIE-LCHlch(17.49, 26.35, 111.57°)
OKLaboklab(28.55% -0.0297 0.0576)
OKLCHoklch(28.55% 0.065 117.3)
XYZxyz(1.8576, 2.4073, 0.3955)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E01 #07012E
analogous
#2E1E01 #282E01 #122E01
triadic
#282E01 #01282E #2E0128
tetradic
#282E01 #012E1E #07012E #2E0112
square
#282E01 #012E1E #07012E #2E0112
split-complementary
#282E01 #01122E #1E012E
monochromatic
#1A1E01 #1A1E01 #282E01 #5C6A02 #90A604

Accessibility & contrast

On white

14.18
#282E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E01
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E01#FFFFFF#000000##FFFFFF
##282E011.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#2B2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282e01;
/* rgb */ color: rgb(40, 46, 1);
/* oklch */ color: oklch(28.5% 0.065 117.3);
Tailwind
colors: {
  custom: {
    50: '#636647',
    500: '#282e01',
    950: '#000000',
  },
}
SCSS
$custom: #282e01;
$custom-light: #636647;
$custom-dark: #000000;
JSON
{
  "hex": "#282e01",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 68,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28545,
    "c": 0.06482,
    "h": 117.3
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#282E01
secondary
#231774
accent
#29FF45
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #282E01

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

Preview Lab → · Contrast checker → · Palette generator →

#282E01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva