#285A0E#285A0E

#285A0E is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.117 H 137.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#285A0E
RGBrgb(40, 90, 14)
HSLhsl(99, 73%, 20%)
HSVhsv(99, 84%, 35%)
CMYKcmyk(55.6%, 0%, 84.4%, 64.7%)
CIE-LABlab(33.55, -31.24, 35.67)
CIE-LCHlch(33.55, 47.42, 131.21°)
OKLaboklab(41.68% -0.0866 0.0793)
OKLCHoklch(41.68% 0.117 137.5)
XYZxyz(4.6103, 7.7948, 1.6770)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A0E #400E5A
analogous
#4E5A0E #285A0E #0E5A1A
triadic
#285A0E #0E285A #5A0E28
tetradic
#285A0E #0E4E5A #400E5A #5A1A0E
square
#285A0E #0E4E5A #400E5A #5A1A0E
split-complementary
#285A0E #1A0E5A #5A0E4E
monochromatic
#0C1A04 #102506 #285A0E #408F16 #57C41E

Accessibility & contrast

On white

8.21
#285A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#285A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A0E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A0E#FFFFFF#000000##FFFFFF
##285A0E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#24564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a0e;
/* rgb */ color: rgb(40, 90, 14);
/* oklch */ color: oklch(41.7% 0.117 137.5);
Tailwind
colors: {
  custom: {
    50: '#688954',
    500: '#285a0e',
    950: '#000000',
  },
}
SCSS
$custom: #285a0e;
$custom-light: #688954;
$custom-dark: #000000;
JSON
{
  "hex": "#285a0e",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 99.474,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41682,
    "c": 0.11741,
    "h": 137.5
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#285A0E
secondary
#723094
accent
#38F0B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #285A0E

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

Preview Lab → · Contrast checker → · Palette generator →

#285A0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva