#282F0D#282F0D

#282F0D is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 29.0% C 0.054 H 119.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#282F0D
RGBrgb(40, 47, 13)
HSLhsl(72, 57%, 12%)
HSVhsv(72, 72%, 18%)
CMYKcmyk(14.9%, 0%, 72.3%, 81.6%)
CIE-LABlab(17.98, -9.25, 20.09)
CIE-LCHlch(17.98, 22.12, 114.71°)
OKLaboklab(28.97% -0.0267 0.0469)
OKLCHoklch(28.97% 0.054 119.7)
XYZxyz(1.9643, 2.5132, 0.7623)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F0D #140D2F
analogous
#2F250D #282F0D #172F0D
triadic
#282F0D #0D282F #2F0D28
tetradic
#282F0D #0D2F25 #140D2F #2F0D17
square
#282F0D #0D2F25 #140D2F #2F0D17
split-complementary
#282F0D #0D172F #250D2F
monochromatic
#141807 #141807 #282F0D #515F1A #7A8F28

Accessibility & contrast

On white

13.98
#282F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F0D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F0D#FFFFFF#000000##FFFFFF
##282F0D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C09
Deuteranopia (green-blind)
#322C0F
Tritanopia (blue-blind)
#2B2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f0d;
/* rgb */ color: rgb(40, 47, 13);
/* oklch */ color: oklch(29.0% 0.054 119.7);
Tailwind
colors: {
  custom: {
    50: '#63674d',
    500: '#282f0d',
    950: '#000000',
  },
}
SCSS
$custom: #282f0d;
$custom-light: #63674d;
$custom-dark: #000000;
JSON
{
  "hex": "#282f0d",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 72.353,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28973,
    "c": 0.05398,
    "h": 119.7
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#282F0D
secondary
#3A2E6A
accent
#48E067
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #282F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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