#282F05#282F05

#282F05 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.062 H 118.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#282F05
RGBrgb(40, 47, 5)
HSLhsl(70, 81%, 10%)
HSVhsv(70, 89%, 18%)
CMYKcmyk(14.9%, 0%, 89.4%, 81.6%)
CIE-LABlab(17.90, -9.96, 23.36)
CIE-LCHlch(17.90, 25.39, 113.08°)
OKLaboklab(28.88% -0.0298 0.0543)
OKLCHoklch(28.88% 0.062 118.7)
XYZxyz(1.9190, 2.4951, 0.5241)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F05 #0C052F
analogous
#2F2105 #282F05 #132F05
triadic
#282F05 #05282F #2F0528
tetradic
#282F05 #052F21 #0C052F #2F0513
square
#282F05 #052F21 #0C052F #2F0513
split-complementary
#282F05 #05132F #21052F
monochromatic
#181C03 #181C03 #282F05 #57660B #869E11

Accessibility & contrast

On white

14.01
#282F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F05
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F05#FFFFFF#000000##FFFFFF
##282F051.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f05;
/* rgb */ color: rgb(40, 47, 5);
/* oklch */ color: oklch(28.9% 0.062 118.7);
Tailwind
colors: {
  custom: {
    50: '#636749',
    500: '#282f05',
    950: '#000000',
  },
}
SCSS
$custom: #282f05;
$custom-light: #636749;
$custom-dark: #000000;
JSON
{
  "hex": "#282f05",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 70,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28881,
    "c": 0.06197,
    "h": 118.7
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#282F05
secondary
#2D1F71
accent
#31F752
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F05

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

Preview Lab → · Contrast checker → · Palette generator →

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