#282F08#282F08

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

Color values

HEX#282F08
RGBrgb(40, 47, 8)
HSLhsl(71, 71%, 11%)
HSVhsv(71, 83%, 18%)
CMYKcmyk(14.9%, 0%, 83%, 81.6%)
CIE-LABlab(17.93, -9.70, 22.17)
CIE-LCHlch(17.93, 24.20, 113.62°)
OKLaboklab(28.92% -0.0286 0.0516)
OKLCHoklch(28.92% 0.059 119)
XYZxyz(1.9355, 2.5017, 0.6106)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F08 #0F082F
analogous
#2F2208 #282F08 #142F08
triadic
#282F08 #08282F #2F0828
tetradic
#282F08 #082F22 #0F082F #2F0814
square
#282F08 #082F22 #0F082F #2F0814
split-complementary
#282F08 #08142F #22082F
monochromatic
#161A04 #161A04 #282F08 #556311 #81981A

Accessibility & contrast

On white

14.00
#282F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F08
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F08#FFFFFF#000000##FFFFFF
##282F081.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f08;
/* rgb */ color: rgb(40, 47, 8);
/* oklch */ color: oklch(28.9% 0.059 119.0);
Tailwind
colors: {
  custom: {
    50: '#63674b',
    500: '#282f08',
    950: '#000000',
  },
}
SCSS
$custom: #282f08;
$custom-light: #63674b;
$custom-dark: #000000;
JSON
{
  "hex": "#282f08",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 70.769,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28915,
    "c": 0.05897,
    "h": 119
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#282F08
secondary
#32256E
accent
#3AEE5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F08

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

Preview Lab → · Contrast checker → · Palette generator →

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