#282F06#282F06

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

Color values

HEX#282F06
RGBrgb(40, 47, 6)
HSLhsl(70, 77%, 10%)
HSVhsv(70, 87%, 18%)
CMYKcmyk(14.9%, 0%, 87.2%, 81.6%)
CIE-LABlab(17.91, -9.87, 22.96)
CIE-LCHlch(17.91, 25.00, 113.26°)
OKLaboklab(28.89% -0.0294 0.0534)
OKLCHoklch(28.89% 0.061 118.8)
XYZxyz(1.9245, 2.4973, 0.5529)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F06 #0D062F
analogous
#2F2106 #282F06 #132F06
triadic
#282F06 #06282F #2F0628
tetradic
#282F06 #062F21 #0D062F #2F0613
square
#282F06 #062F21 #0D062F #2F0613
split-complementary
#282F06 #06132F #21062F
monochromatic
#171B03 #171B03 #282F06 #56650D #849C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282F06#FFFFFF#000000##FFFFFF
##282F061.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)
#332C02
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#2B2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282f06;
/* rgb */ color: rgb(40, 47, 6);
/* oklch */ color: oklch(28.9% 0.061 118.8);
Tailwind
colors: {
  custom: {
    50: '#63674a',
    500: '#282f06',
    950: '#000000',
  },
}
SCSS
$custom: #282f06;
$custom-light: #63674a;
$custom-dark: #000000;
JSON
{
  "hex": "#282f06",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 70.244,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28892,
    "c": 0.06095,
    "h": 118.8
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#282F06
secondary
#2F2170
accent
#34F455
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282F06

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

Preview Lab → · Contrast checker → · Palette generator →

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