#282B0C#282B0C

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

Color values

HEX#282B0C
RGBrgb(40, 43, 12)
HSLhsl(66, 56%, 11%)
HSVhsv(66, 72%, 17%)
CMYKcmyk(7%, 0%, 72.1%, 83.1%)
CIE-LABlab(16.53, -6.81, 18.80)
CIE-LCHlch(16.53, 19.99, 109.92°)
OKLaboklab(27.81% -0.02 0.0445)
OKLCHoklch(27.81% 0.049 114.2)
XYZxyz(1.8053, 2.2054, 0.6783)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B0C #0F0C2B
analogous
#2B1E0C #282B0C #182B0C
triadic
#282B0C #0C282B #2B0C28
tetradic
#282B0C #0C2B1E #0F0C2B #2B0C18
square
#282B0C #0C2B1E #0F0C2B #2B0C18
split-complementary
#282B0C #0C182B #1E0C2B
monochromatic
#161807 #161807 #282B0C #555B19 #818B27

Accessibility & contrast

On white

14.57
#282B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B0C
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B0C#FFFFFF#000000##FFFFFF
##282B0C1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282b0c;
/* rgb */ color: rgb(40, 43, 12);
/* oklch */ color: oklch(27.8% 0.049 114.2);
Tailwind
colors: {
  custom: {
    50: '#63644c',
    500: '#282b0c',
    950: '#000000',
  },
}
SCSS
$custom: #282b0c;
$custom-light: #63644c;
$custom-dark: #000000;
JSON
{
  "hex": "#282b0c",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 65.806,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27808,
    "c": 0.04883,
    "h": 114.2
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#282B0C
secondary
#322C66
accent
#48E057
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #282B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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