#282B02#282B02

#282B02 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.060 H 113.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#282B02
RGBrgb(40, 43, 2)
HSLhsl(64, 91%, 9%)
HSVhsv(64, 95%, 17%)
CMYKcmyk(7%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.42, -7.72, 22.78)
CIE-LCHlch(16.42, 24.05, 108.71°)
OKLaboklab(27.69% -0.0241 0.0546)
OKLCHoklch(27.69% 0.06 113.8)
XYZxyz(1.7500, 2.1833, 0.3867)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B02 #05022B
analogous
#2B1A02 #282B02 #142B02
triadic
#282B02 #02282B #2B0228
tetradic
#282B02 #022B1A #05022B #2B0214
square
#282B02 #022B1A #05022B #2B0214
split-complementary
#282B02 #02142B #1A022B
monochromatic
#1B1D01 #1B1D01 #282B02 #5E6505 #95A007

Accessibility & contrast

On white

14.62
#282B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#282B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B02
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B02#FFFFFF#000000##FFFFFF
##282B021.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#2C2823
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282b02;
/* rgb */ color: rgb(40, 43, 2);
/* oklch */ color: oklch(27.7% 0.060 113.8);
Tailwind
colors: {
  custom: {
    50: '#636448',
    500: '#282b02',
    950: '#000000',
  },
}
SCSS
$custom: #282b02;
$custom-light: #636448;
$custom-dark: #000000;
JSON
{
  "hex": "#282b02",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 64.39,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27686,
    "c": 0.05971,
    "h": 113.8
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#282B02
secondary
#1F1970
accent
#29FF38
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282B02

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

Preview Lab → · Contrast checker → · Palette generator →

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