#282F0C#282F0C

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

Color values

HEX#282F0C
RGBrgb(40, 47, 12)
HSLhsl(72, 59%, 12%)
HSVhsv(72, 74%, 18%)
CMYKcmyk(14.9%, 0%, 74.5%, 81.6%)
CIE-LABlab(17.97, -9.34, 20.55)
CIE-LCHlch(17.97, 22.57, 114.45°)
OKLaboklab(28.96% -0.0271 0.0479)
OKLCHoklch(28.96% 0.055 119.6)
XYZxyz(1.9580, 2.5107, 0.7292)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F0C #130C2F
analogous
#2F250C #282F0C #172F0C
triadic
#282F0C #0C282F #2F0C28
tetradic
#282F0C #0C2F25 #130C2F #2F0C17
square
#282F0C #0C2F25 #130C2F #2F0C17
split-complementary
#282F0C #0C172F #250C2F
monochromatic
#151806 #151806 #282F0C #516018 #7B9125

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #282f0c;
/* rgb */ color: rgb(40, 47, 12);
/* oklch */ color: oklch(29.0% 0.055 119.6);
Tailwind
colors: {
  custom: {
    50: '#63674d',
    500: '#282f0c',
    950: '#000000',
  },
}
SCSS
$custom: #282f0c;
$custom-light: #63674d;
$custom-dark: #000000;
JSON
{
  "hex": "#282f0c",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 72,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2896,
    "c": 0.05504,
    "h": 119.6
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#282F0C
secondary
#392C6B
accent
#45E365
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #282F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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