#282C03#282C03

#282C03 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.0% C 0.060 H 115.1°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#282C03
RGBrgb(40, 44, 3)
HSLhsl(66, 87%, 9%)
HSVhsv(66, 93%, 17%)
CMYKcmyk(9.1%, 0%, 93.2%, 82.7%)
CIE-LABlab(16.79, -8.26, 22.83)
CIE-LCHlch(16.79, 24.28, 109.90°)
OKLaboklab(27.99% -0.0254 0.0542)
OKLCHoklch(27.99% 0.06 115.1)
XYZxyz(1.7922, 2.2591, 0.4278)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C03 #07032C
analogous
#2C1C03 #282C03 #142C03
triadic
#282C03 #03282C #2C0328
tetradic
#282C03 #032C1C #07032C #2C0314
square
#282C03 #032C1C #07032C #2C0314
split-complementary
#282C03 #03142C #1C032C
monochromatic
#1A1D02 #1A1D02 #282C03 #5C6507 #909F0B

Accessibility & contrast

On white

14.46
#282C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C03
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C03#FFFFFF#000000##FFFFFF
##282C031.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#2B2924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282c03;
/* rgb */ color: rgb(40, 44, 3);
/* oklch */ color: oklch(28.0% 0.060 115.1);
Tailwind
colors: {
  custom: {
    50: '#636548',
    500: '#282c03',
    950: '#000000',
  },
}
SCSS
$custom: #282c03;
$custom-light: #636548;
$custom-dark: #000000;
JSON
{
  "hex": "#282c03",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 65.854,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27987,
    "c": 0.0599,
    "h": 115.1
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#282C03
secondary
#231B70
accent
#2AFD3F
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050500
muted
#7A7A77

Preview Lab

Preview with #282C03

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

Preview Lab → · Contrast checker → · Palette generator →

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