#282F02#282F02

#282F02 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 28.8% C 0.065 H 118.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#282F02
RGBrgb(40, 47, 2)
HSLhsl(69, 92%, 10%)
HSVhsv(69, 96%, 18%)
CMYKcmyk(14.9%, 0%, 95.7%, 81.6%)
CIE-LABlab(17.87, -10.22, 24.55)
CIE-LCHlch(17.87, 26.59, 112.60°)
OKLaboklab(28.85% -0.031 0.0572)
OKLCHoklch(28.85% 0.065 118.4)
XYZxyz(1.9026, 2.4885, 0.4375)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F02 #09022F
analogous
#2F2002 #282F02 #122F02
triadic
#282F02 #02282F #2F0228
tetradic
#282F02 #022F20 #09022F #2F0212
square
#282F02 #022F20 #09022F #2F0212
split-complementary
#282F02 #02122F #20022F
monochromatic
#191D01 #191D01 #282F02 #5A6A04 #8CA407

Accessibility & contrast

On white

14.02
#282F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F02
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F02#FFFFFF#000000##FFFFFF
##282F021.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f02;
/* rgb */ color: rgb(40, 47, 2);
/* oklch */ color: oklch(28.8% 0.065 118.4);
Tailwind
colors: {
  custom: {
    50: '#636748',
    500: '#282f02',
    950: '#000000',
  },
}
SCSS
$custom: #282f02;
$custom-light: #636748;
$custom-dark: #000000;
JSON
{
  "hex": "#282f02",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 69.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28848,
    "c": 0.06509,
    "h": 118.4
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#282F02
secondary
#271974
accent
#29FF4A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #282F02

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

Preview Lab → · Contrast checker → · Palette generator →

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