#285310#285310

#285310 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.6% C 0.107 H 136.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#285310
RGBrgb(40, 83, 16)
HSLhsl(99, 68%, 19%)
HSVhsv(99, 81%, 33%)
CMYKcmyk(51.8%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.05, -28.02, 32.51)
CIE-LCHlch(31.05, 42.91, 130.75°)
OKLaboklab(39.63% -0.0778 0.073)
OKLCHoklch(39.63% 0.107 136.8)
XYZxyz(4.0617, 6.6748, 1.5644)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285310 #3B1053
analogous
#4A5310 #285310 #105319
triadic
#285310 #102853 #531028
tetradic
#285310 #104A53 #3B1053 #531910
square
#285310 #104A53 #3B1053 #531910
split-complementary
#285310 #191053 #53104A
monochromatic
#0C1A05 #0F2006 #285310 #41861A #59BA24

Accessibility & contrast

On white

8.99
#285310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#285310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285310
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285310#FFFFFF#000000##FFFFFF
##2853101.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#265046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285310;
/* rgb */ color: rgb(40, 83, 16);
/* oklch */ color: oklch(39.6% 0.107 136.8);
Tailwind
colors: {
  custom: {
    50: '#678453',
    500: '#285310',
    950: '#000000',
  },
}
SCSS
$custom: #285310;
$custom-light: #678453;
$custom-dark: #000000;
JSON
{
  "hex": "#285310",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 98.507,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.10667,
    "h": 136.8
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#285310
secondary
#6C328D
accent
#3DEBAC
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285310

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

Preview Lab → · Contrast checker → · Palette generator →

#285310 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva