#282B0A#282B0A

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

Color values

HEX#282B0A
RGBrgb(40, 43, 10)
HSLhsl(65, 62%, 10%)
HSVhsv(65, 77%, 17%)
CMYKcmyk(7%, 0%, 76.7%, 83.1%)
CIE-LABlab(16.51, -7.00, 19.63)
CIE-LCHlch(16.51, 20.84, 109.62°)
OKLaboklab(27.78% -0.0208 0.0465)
OKLCHoklch(27.78% 0.051 114.1)
XYZxyz(1.7938, 2.2008, 0.6174)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B0A #0D0A2B
analogous
#2B1D0A #282B0A #172B0A
triadic
#282B0A #0A282B #2B0A28
tetradic
#282B0A #0A2B1D #0D0A2B #2B0A17
square
#282B0A #0A2B1D #0D0A2B #2B0A17
split-complementary
#282B0A #0A172B #1D0A2B
monochromatic
#171906 #171906 #282B0A #565D16 #848E21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282B0A#FFFFFF#000000##FFFFFF
##282B0A1.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)
#2F2906
Deuteranopia (green-blind)
#2F290C
Tritanopia (blue-blind)
#2B2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282b0a;
/* rgb */ color: rgb(40, 43, 10);
/* oklch */ color: oklch(27.8% 0.051 114.1);
Tailwind
colors: {
  custom: {
    50: '#63644b',
    500: '#282b0a',
    950: '#000000',
  },
}
SCSS
$custom: #282b0a;
$custom-light: #63644b;
$custom-dark: #000000;
JSON
{
  "hex": "#282b0a",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 65.455,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27783,
    "c": 0.05097,
    "h": 114.1
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#282B0A
secondary
#2F2968
accent
#42E551
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #282B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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