#282F0A#282F0A

#282F0A is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.057 H 119.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#282F0A
RGBrgb(40, 47, 10)
HSLhsl(71, 65%, 11%)
HSVhsv(71, 79%, 18%)
CMYKcmyk(14.9%, 0%, 78.7%, 81.6%)
CIE-LABlab(17.95, -9.53, 21.38)
CIE-LCHlch(17.95, 23.41, 114.01°)
OKLaboklab(28.94% -0.0279 0.0497)
OKLCHoklch(28.94% 0.057 119.3)
XYZxyz(1.9464, 2.5061, 0.6683)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F0A #110A2F
analogous
#2F230A #282F0A #152F0A
triadic
#282F0A #0A282F #2F0A28
tetradic
#282F0A #0A2F23 #110A2F #2F0A15
square
#282F0A #0A2F23 #110A2F #2F0A15
split-complementary
#282F0A #0A152F #230A2F
monochromatic
#151905 #151905 #282F0A #536115 #7E941F

Accessibility & contrast

On white

13.99
#282F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F0A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F0A#FFFFFF#000000##FFFFFF
##282F0A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#2B2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f0a;
/* rgb */ color: rgb(40, 47, 10);
/* oklch */ color: oklch(28.9% 0.057 119.3);
Tailwind
colors: {
  custom: {
    50: '#63674c',
    500: '#282f0a',
    950: '#000000',
  },
}
SCSS
$custom: #282f0a;
$custom-light: #63674c;
$custom-dark: #000000;
JSON
{
  "hex": "#282f0a",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 71.351,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.05703,
    "h": 119.3
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#282F0A
secondary
#35296C
accent
#40E860
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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