#282F03#282F03

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

Color values

HEX#282F03
RGBrgb(40, 47, 3)
HSLhsl(70, 88%, 10%)
HSVhsv(70, 94%, 18%)
CMYKcmyk(14.9%, 0%, 93.6%, 81.6%)
CIE-LABlab(17.88, -10.13, 24.15)
CIE-LCHlch(17.88, 26.19, 112.75°)
OKLaboklab(28.86% -0.0306 0.0563)
OKLCHoklch(28.86% 0.064 118.5)
XYZxyz(1.9081, 2.4907, 0.4664)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F03 #0A032F
analogous
#2F2003 #282F03 #122F03
triadic
#282F03 #03282F #2F0328
tetradic
#282F03 #032F20 #0A032F #2F0312
square
#282F03 #032F20 #0A032F #2F0312
split-complementary
#282F03 #03122F #20032F
monochromatic
#181D02 #181D02 #282F03 #596907 #8AA20A

Accessibility & contrast

On white

14.02
#282F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F03
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F03#FFFFFF#000000##FFFFFF
##282F031.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f03;
/* rgb */ color: rgb(40, 47, 3);
/* oklch */ color: oklch(28.9% 0.064 118.5);
Tailwind
colors: {
  custom: {
    50: '#636748',
    500: '#282f03',
    950: '#000000',
  },
}
SCSS
$custom: #282f03;
$custom-light: #636748;
$custom-dark: #000000;
JSON
{
  "hex": "#282f03",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 69.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28859,
    "c": 0.06403,
    "h": 118.5
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#282F03
secondary
#291B73
accent
#2AFE4B
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #282F03

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

Preview Lab → · Contrast checker → · Palette generator →

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