#282F04#282F04

#282F04 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.063 H 118.6°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#282F04
RGBrgb(40, 47, 4)
HSLhsl(70, 84%, 10%)
HSVhsv(70, 91%, 18%)
CMYKcmyk(14.9%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.89, -10.04, 23.76)
CIE-LCHlch(17.89, 25.79, 112.92°)
OKLaboklab(28.87% -0.0302 0.0553)
OKLCHoklch(28.87% 0.063 118.6)
XYZxyz(1.9135, 2.4929, 0.4952)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F04 #0B042F
analogous
#2F2004 #282F04 #132F04
triadic
#282F04 #04282F #2F0428
tetradic
#282F04 #042F20 #0B042F #2F0413
square
#282F04 #042F20 #0B042F #2F0413
split-complementary
#282F04 #04132F #20042F
monochromatic
#181C02 #181C02 #282F04 #586709 #88A00E

Accessibility & contrast

On white

14.01
#282F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F04
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F04#FFFFFF#000000##FFFFFF
##282F041.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f04;
/* rgb */ color: rgb(40, 47, 4);
/* oklch */ color: oklch(28.9% 0.063 118.6);
Tailwind
colors: {
  custom: {
    50: '#636749',
    500: '#282f04',
    950: '#000000',
  },
}
SCSS
$custom: #282f04;
$custom-light: #636749;
$custom-dark: #000000;
JSON
{
  "hex": "#282f04",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 69.767,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2887,
    "c": 0.06299,
    "h": 118.6
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#282F04
secondary
#2B1D72
accent
#2DFB4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F04

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

Preview Lab → · Contrast checker → · Palette generator →

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