#282F0F#282F0F

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

Color values

HEX#282F0F
RGBrgb(40, 47, 15)
HSLhsl(73, 52%, 12%)
HSVhsv(73, 68%, 18%)
CMYKcmyk(14.9%, 0%, 68.1%, 81.6%)
CIE-LABlab(18.00, -9.04, 19.11)
CIE-LCHlch(18.00, 21.14, 115.31°)
OKLaboklab(29% -0.0259 0.0448)
OKLCHoklch(29% 0.052 120)
XYZxyz(1.9778, 2.5186, 0.8338)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F0F #160F2F
analogous
#2F260F #282F0F #182F0F
triadic
#282F0F #0F282F #2F0F28
tetradic
#282F0F #0F2F26 #160F2F #2F0F18
square
#282F0F #0F2F26 #160F2F #2F0F18
split-complementary
#282F0F #0F182F #260F2F
monochromatic
#141707 #141707 #282F0F #4F5D1E #778C2D

Accessibility & contrast

On white

13.96
#282F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F0F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F0F#FFFFFF#000000##FFFFFF
##282F0F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#2A2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f0f;
/* rgb */ color: rgb(40, 47, 15);
/* oklch */ color: oklch(29.0% 0.052 120.0);
Tailwind
colors: {
  custom: {
    50: '#63674e',
    500: '#282f0f',
    950: '#000000',
  },
}
SCSS
$custom: #282f0f;
$custom-light: #63674e;
$custom-dark: #000000;
JSON
{
  "hex": "#282f0f",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 73.125,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29001,
    "c": 0.05174,
    "h": 120
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#282F0F
secondary
#3D3169
accent
#4DDB6C
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #282F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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