#282F0B#282F0B

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

Color values

HEX#282F0B
RGBrgb(40, 47, 11)
HSLhsl(72, 62%, 11%)
HSVhsv(72, 77%, 18%)
CMYKcmyk(14.9%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.96, -9.44, 20.98)
CIE-LCHlch(17.96, 23.00, 114.22°)
OKLaboklab(28.95% -0.0275 0.0488)
OKLCHoklch(28.95% 0.056 119.4)
XYZxyz(1.9520, 2.5083, 0.6979)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F0B #120B2F
analogous
#2F240B #282F0B #162F0B
triadic
#282F0B #0B282F #2F0B28
tetradic
#282F0B #0B2F24 #120B2F #2F0B16
square
#282F0B #0B2F24 #120B2F #2F0B16
split-complementary
#282F0B #0B162F #240B2F
monochromatic
#151906 #151906 #282F0B #526117 #7C9222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282F0B#FFFFFF#000000##FFFFFF
##282F0B1.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)
#322C07
Deuteranopia (green-blind)
#322C0E
Tritanopia (blue-blind)
#2B2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f0b;
/* rgb */ color: rgb(40, 47, 11);
/* oklch */ color: oklch(28.9% 0.056 119.4);
Tailwind
colors: {
  custom: {
    50: '#63674c',
    500: '#282f0b',
    950: '#000000',
  },
}
SCSS
$custom: #282f0b;
$custom-light: #63674c;
$custom-dark: #000000;
JSON
{
  "hex": "#282f0b",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 71.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28948,
    "c": 0.05606,
    "h": 119.4
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#282F0B
secondary
#372A6B
accent
#43E562
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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