#282A08#282A08

#282A08 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.052 H 112.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#282A08
RGBrgb(40, 42, 8)
HSLhsl(64, 68%, 10%)
HSVhsv(64, 81%, 16%)
CMYKcmyk(4.8%, 0%, 81%, 83.5%)
CIE-LABlab(16.13, -6.53, 19.97)
CIE-LCHlch(16.13, 21.01, 108.11°)
OKLaboklab(27.47% -0.0198 0.0477)
OKLCHoklch(27.47% 0.052 112.6)
XYZxyz(1.7469, 2.1246, 0.5477)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A08 #0A082A
analogous
#2A1B08 #282A08 #172A08
triadic
#282A08 #08282A #2A0828
tetradic
#282A08 #082A1B #0A082A #2A0817
square
#282A08 #082A1B #0A082A #2A0817
split-complementary
#282A08 #08172A #1B082A
monochromatic
#181A05 #181A05 #282A08 #595D12 #8A911C

Accessibility & contrast

On white

14.74
#282A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#282A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A08
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A08#FFFFFF#000000##FFFFFF
##282A081.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#2B2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282a08;
/* rgb */ color: rgb(40, 42, 8);
/* oklch */ color: oklch(27.5% 0.052 112.6);
Tailwind
colors: {
  custom: {
    50: '#63634a',
    500: '#282a08',
    950: '#000000',
  },
}
SCSS
$custom: #282a08;
$custom-light: #63634a;
$custom-dark: #000000;
JSON
{
  "hex": "#282a08",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 63.529,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27472,
    "c": 0.05163,
    "h": 112.6
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#282A08
secondary
#292569
accent
#3DEB47
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #282A08

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

Preview Lab → · Contrast checker → · Palette generator →

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