#282F01#282F01

#282F01 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 28.8% C 0.066 H 118.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#282F01
RGBrgb(40, 47, 1)
HSLhsl(69, 96%, 9%)
HSVhsv(69, 98%, 18%)
CMYKcmyk(14.9%, 0%, 97.9%, 81.6%)
CIE-LABlab(17.86, -10.31, 24.94)
CIE-LCHlch(17.86, 26.99, 112.45°)
OKLaboklab(28.84% -0.0314 0.0582)
OKLCHoklch(28.84% 0.066 118.3)
XYZxyz(1.8971, 2.4864, 0.4087)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F01 #08012F
analogous
#2F1F01 #282F01 #112F01
triadic
#282F01 #01282F #2F0128
tetradic
#282F01 #012F1F #08012F #2F0111
square
#282F01 #012F1F #08012F #2F0111
split-complementary
#282F01 #01112F #1F012F
monochromatic
#1A1E01 #1A1E01 #282F01 #5B6B02 #8EA704

Accessibility & contrast

On white

14.03
#282F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F01
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F01#FFFFFF#000000##FFFFFF
##282F011.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#322C04
Tritanopia (blue-blind)
#2B2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f01;
/* rgb */ color: rgb(40, 47, 1);
/* oklch */ color: oklch(28.8% 0.066 118.3);
Tailwind
colors: {
  custom: {
    50: '#636747',
    500: '#282f01',
    950: '#000000',
  },
}
SCSS
$custom: #282f01;
$custom-light: #636747;
$custom-dark: #000000;
JSON
{
  "hex": "#282f01",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 69.13,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28837,
    "c": 0.06616,
    "h": 118.3
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#282F01
secondary
#251775
accent
#29FF49
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #282F01

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

Preview Lab → · Contrast checker → · Palette generator →

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