#282B0B#282B0B

#282B0B is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.050 H 114.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#282B0B
RGBrgb(40, 43, 11)
HSLhsl(66, 59%, 11%)
HSVhsv(66, 74%, 17%)
CMYKcmyk(7%, 0%, 74.4%, 83.1%)
CIE-LABlab(16.52, -6.91, 19.23)
CIE-LCHlch(16.52, 20.43, 109.76°)
OKLaboklab(27.8% -0.0204 0.0456)
OKLCHoklch(27.8% 0.05 114.2)
XYZxyz(1.7994, 2.2031, 0.6470)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B0B #0E0B2B
analogous
#2B1E0B #282B0B #182B0B
triadic
#282B0B #0B282B #2B0B28
tetradic
#282B0B #0B2B1E #0E0B2B #2B0B18
square
#282B0B #0B2B1E #0E0B2B #2B0B18
split-complementary
#282B0B #0B182B #1E0B2B
monochromatic
#171806 #171806 #282B0B #555C17 #838C24

Accessibility & contrast

On white

14.58
#282B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B0B
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B0B#FFFFFF#000000##FFFFFF
##282B0B1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2907
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#2B2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282b0b;
/* rgb */ color: rgb(40, 43, 11);
/* oklch */ color: oklch(27.8% 0.050 114.2);
Tailwind
colors: {
  custom: {
    50: '#63644c',
    500: '#282b0b',
    950: '#000000',
  },
}
SCSS
$custom: #282b0b;
$custom-light: #63644c;
$custom-dark: #000000;
JSON
{
  "hex": "#282b0b",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 65.625,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27795,
    "c": 0.04993,
    "h": 114.2
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#282B0B
secondary
#302B67
accent
#45E254
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #282B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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