#285B0E#285B0E

#285B0E is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.0% C 0.119 H 137.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#285B0E
RGBrgb(40, 91, 14)
HSLhsl(100, 73%, 21%)
HSVhsv(100, 85%, 36%)
CMYKcmyk(56%, 0%, 84.6%, 64.3%)
CIE-LABlab(33.91, -31.66, 36.01)
CIE-LCHlch(33.91, 47.95, 131.32°)
OKLaboklab(41.98% -0.0877 0.08)
OKLCHoklch(41.98% 0.119 137.7)
XYZxyz(4.6953, 7.9646, 1.7053)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B0E #410E5B
analogous
#4E5B0E #285B0E #0E5B1A
triadic
#285B0E #0E285B #5B0E28
tetradic
#285B0E #0E4E5B #410E5B #5B1A0E
square
#285B0E #0E4E5B #410E5B #5B1A0E
split-complementary
#285B0E #1A0E5B #5B0E4E
monochromatic
#0C1B04 #112606 #285B0E #3F9016 #57C51E

Accessibility & contrast

On white

8.10
#285B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#285B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B0E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B0E#FFFFFF#000000##FFFFFF
##285B0E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#24574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b0e;
/* rgb */ color: rgb(40, 91, 14);
/* oklch */ color: oklch(42.0% 0.119 137.7);
Tailwind
colors: {
  custom: {
    50: '#688a54',
    500: '#285b0e',
    950: '#000000',
  },
}
SCSS
$custom: #285b0e;
$custom-light: #688a54;
$custom-dark: #000000;
JSON
{
  "hex": "#285b0e",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 99.74,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.11873,
    "h": 137.7
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#285B0E
secondary
#733095
accent
#38F0B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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