#282E05#282E05

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

Color values

HEX#282E05
RGBrgb(40, 46, 5)
HSLhsl(69, 80%, 10%)
HSVhsv(69, 89%, 18%)
CMYKcmyk(13%, 0%, 89.1%, 82%)
CIE-LABlab(17.53, -9.34, 22.92)
CIE-LCHlch(17.53, 24.75, 112.16°)
OKLaboklab(28.59% -0.0281 0.0536)
OKLCHoklch(28.59% 0.061 117.6)
XYZxyz(1.8795, 2.4161, 0.5109)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E05 #0B052E
analogous
#2E1F05 #282E05 #142E05
triadic
#282E05 #05282E #2E0528
tetradic
#282E05 #052E1F #0B052E #2E0514
square
#282E05 #052E1F #0B052E #2E0514
split-complementary
#282E05 #05142E #1F052E
monochromatic
#181C03 #181C03 #282E05 #58650B #889C11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282E05#FFFFFF#000000##FFFFFF
##282E051.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)
#322B01
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#2B2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282e05;
/* rgb */ color: rgb(40, 46, 5);
/* oklch */ color: oklch(28.6% 0.061 117.6);
Tailwind
colors: {
  custom: {
    50: '#636649',
    500: '#282e05',
    950: '#000000',
  },
}
SCSS
$custom: #282e05;
$custom-light: #636649;
$custom-dark: #000000;
JSON
{
  "hex": "#282e05",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 5
  },
  "hsl": {
    "h": 68.78,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.06053,
    "h": 117.6
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#282E05
secondary
#2B1F70
accent
#31F74E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282E05

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

Preview Lab → · Contrast checker → · Palette generator →

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