#282F07#282F07

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

Color values

HEX#282F07
RGBrgb(40, 47, 7)
HSLhsl(71, 74%, 11%)
HSVhsv(71, 85%, 18%)
CMYKcmyk(14.9%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.92, -9.78, 22.57)
CIE-LCHlch(17.92, 24.60, 113.43°)
OKLaboklab(28.9% -0.029 0.0525)
OKLCHoklch(28.9% 0.06 118.9)
XYZxyz(1.9300, 2.4995, 0.5818)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F07 #0E072F
analogous
#2F2207 #282F07 #142F07
triadic
#282F07 #07282F #2F0728
tetradic
#282F07 #072F22 #0E072F #2F0714
square
#282F07 #072F22 #0E072F #2F0714
split-complementary
#282F07 #07142F #22072F
monochromatic
#171B04 #171B04 #282F07 #55640F #839A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282F07#FFFFFF#000000##FFFFFF
##282F071.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)
#332C03
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#2B2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f07;
/* rgb */ color: rgb(40, 47, 7);
/* oklch */ color: oklch(28.9% 0.060 118.9);
Tailwind
colors: {
  custom: {
    50: '#63674a',
    500: '#282f07',
    950: '#000000',
  },
}
SCSS
$custom: #282f07;
$custom-light: #63674a;
$custom-dark: #000000;
JSON
{
  "hex": "#282f07",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 70.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28903,
    "c": 0.05995,
    "h": 118.9
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#282F07
secondary
#30236F
accent
#37F158
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F07

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

Preview Lab → · Contrast checker → · Palette generator →

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