#282902#282902

#282902 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.057 H 111.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#282902
RGBrgb(40, 41, 2)
HSLhsl(62, 91%, 8%)
HSVhsv(62, 95%, 16%)
CMYKcmyk(2.4%, 0%, 95.1%, 83.9%)
CIE-LABlab(15.70, -6.43, 21.88)
CIE-LCHlch(15.70, 22.81, 106.38°)
OKLaboklab(27.11% -0.0206 0.0533)
OKLCHoklch(27.11% 0.057 111.1)
XYZxyz(1.6790, 2.0414, 0.3630)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282902 #030229
analogous
#291602 #282902 #142902
triadic
#282902 #022829 #290228
tetradic
#282902 #022916 #030229 #290214
square
#282902 #022916 #030229 #290214
split-complementary
#282902 #021429 #160229
monochromatic
#1C1D01 #1C1D01 #282902 #616305 #9A9E08

Accessibility & contrast

On white

14.91
#282902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#282902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282902
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282902#FFFFFF#000000##FFFFFF
##2829021.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2D2804
Tritanopia (blue-blind)
#2C2622
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #282902;
/* rgb */ color: rgb(40, 41, 2);
/* oklch */ color: oklch(27.1% 0.057 111.1);
Tailwind
colors: {
  custom: {
    50: '#636247',
    500: '#282902',
    950: '#000000',
  },
}
SCSS
$custom: #282902;
$custom-light: #636247;
$custom-dark: #000000;
JSON
{
  "hex": "#282902",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 61.538,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2711,
    "c": 0.05714,
    "h": 111.1
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#282902
secondary
#1B196E
accent
#29FF2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282902

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

Preview Lab → · Contrast checker → · Palette generator →

#282902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva