#282702#282702

#282702 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.5% C 0.055 H 108.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#282702
RGBrgb(40, 39, 2)
HSLhsl(58, 90%, 8%)
HSVhsv(58, 95%, 16%)
CMYKcmyk(0%, 2.5%, 95%, 84.3%)
CIE-LABlab(14.99, -5.12, 20.97)
CIE-LCHlch(14.99, 21.59, 103.72°)
OKLaboklab(26.54% -0.017 0.052)
OKLCHoklch(26.54% 0.055 108.1)
XYZxyz(1.6116, 1.9066, 0.3405)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282702 #020328
analogous
#281402 #282702 #162802
triadic
#282702 #022827 #270228
tetradic
#282702 #022814 #020328 #280216
square
#282702 #022814 #020328 #280216
split-complementary
#282702 #021628 #140228
monochromatic
#1D1C01 #1D1C01 #282702 #626005 #9D9908

Accessibility & contrast

On white

15.20
#282702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#282702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282702
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282702#FFFFFF#000000##FFFFFF
##2827021.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#2C2420
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282702;
/* rgb */ color: rgb(40, 39, 2);
/* oklch */ color: oklch(26.5% 0.055 108.1);
Tailwind
colors: {
  custom: {
    50: '#636047',
    500: '#282702',
    950: '#000000',
  },
}
SCSS
$custom: #282702;
$custom-light: #636047;
$custom-dark: #000000;
JSON
{
  "hex": "#282702",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 58.421,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2654,
    "c": 0.05469,
    "h": 108.1
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#282702
secondary
#191B6D
accent
#2EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282702

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

Preview Lab → · Contrast checker → · Palette generator →

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