#285C0D#285C0D

#285C0D is a dark, vivid yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.121 H 137.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#285C0D
RGBrgb(40, 92, 13)
HSLhsl(99, 75%, 21%)
HSVhsv(99, 86%, 36%)
CMYKcmyk(56.5%, 0%, 85.9%, 63.9%)
CIE-LABlab(34.26, -32.15, 36.68)
CIE-LCHlch(34.26, 48.77, 131.24°)
OKLaboklab(42.26% -0.0891 0.0812)
OKLCHoklch(42.26% 0.121 137.7)
XYZxyz(4.7747, 8.1341, 1.6991)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C0D #410D5C
analogous
#4F5C0D #285C0D #0D5C1A
triadic
#285C0D #0D285C #5C0D28
tetradic
#285C0D #0D4F5C #410D5C #5C1A0D
square
#285C0D #0D4F5C #410D5C #5C1A0D
split-complementary
#285C0D #1A0D5C #5C0D4F
monochromatic
#0C1B04 #112605 #285C0D #3F9215 #57C71C

Accessibility & contrast

On white

7.99
#285C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C0D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C0D#FFFFFF#000000##FFFFFF
##285C0D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#24584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c0d;
/* rgb */ color: rgb(40, 92, 13);
/* oklch */ color: oklch(42.3% 0.121 137.7);
Tailwind
colors: {
  custom: {
    50: '#698b54',
    500: '#285c0d',
    950: '#000000',
  },
}
SCSS
$custom: #285c0d;
$custom-light: #698b54;
$custom-dark: #000000;
JSON
{
  "hex": "#285c0d",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 13
  },
  "hsl": {
    "h": 99.494,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.12057,
    "h": 137.7
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#285C0D
secondary
#732F96
accent
#36F2B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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