#282E04#282E04

#282E04 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.062 H 117.5°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#282E04
RGBrgb(40, 46, 4)
HSLhsl(69, 84%, 10%)
HSVhsv(69, 91%, 18%)
CMYKcmyk(13%, 0%, 91.3%, 82%)
CIE-LABlab(17.52, -9.43, 23.32)
CIE-LCHlch(17.52, 25.15, 112.01°)
OKLaboklab(28.58% -0.0285 0.0546)
OKLCHoklch(28.58% 0.062 117.5)
XYZxyz(1.8740, 2.4139, 0.4820)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E04 #0A042E
analogous
#2E1F04 #282E04 #132E04
triadic
#282E04 #04282E #2E0428
tetradic
#282E04 #042E1F #0A042E #2E0413
square
#282E04 #042E1F #0A042E #2E0413
split-complementary
#282E04 #04132E #1F042E
monochromatic
#181C02 #181C02 #282E04 #596609 #8A9F0E

Accessibility & contrast

On white

14.16
#282E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E04
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E04#FFFFFF#000000##FFFFFF
##282E041.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282e04;
/* rgb */ color: rgb(40, 46, 4);
/* oklch */ color: oklch(28.6% 0.062 117.5);
Tailwind
colors: {
  custom: {
    50: '#636649',
    500: '#282e04',
    950: '#000000',
  },
}
SCSS
$custom: #282e04;
$custom-light: #636649;
$custom-dark: #000000;
JSON
{
  "hex": "#282e04",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 68.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28579,
    "c": 0.06158,
    "h": 117.5
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#282E04
secondary
#291D71
accent
#2EFA4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282E04

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

Preview Lab → · Contrast checker → · Palette generator →

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