#28350C#28350C

#28350C is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.065 H 125.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#28350C
RGBrgb(40, 53, 12)
HSLhsl(79, 63%, 13%)
HSVhsv(79, 77%, 21%)
CMYKcmyk(24.5%, 0%, 77.4%, 79.2%)
CIE-LABlab(20.14, -12.96, 23.07)
CIE-LCHlch(20.14, 26.46, 119.34°)
OKLaboklab(30.71% -0.0372 0.0528)
OKLCHoklch(30.71% 0.065 125.2)
XYZxyz(2.2145, 3.0238, 0.8147)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28350C #190C35
analogous
#352D0C #28350C #14350C
triadic
#28350C #0C2835 #350C28
tetradic
#28350C #0C352D #190C35 #350C14
square
#28350C #0C352D #190C35 #350C14
split-complementary
#28350C #0C1435 #2D0C35
monochromatic
#131906 #131906 #28350C #4E6717 #739923

Accessibility & contrast

On white

13.09
#28350C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#28350C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28350C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28350C#FFFFFF#000000##FFFFFF
##28350C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383107
Deuteranopia (green-blind)
#37300F
Tritanopia (blue-blind)
#2A322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28350c;
/* rgb */ color: rgb(40, 53, 12);
/* oklch */ color: oklch(30.7% 0.065 125.2);
Tailwind
colors: {
  custom: {
    50: '#636c4d',
    500: '#28350c',
    950: '#000000',
  },
}
SCSS
$custom: #28350c;
$custom-light: #636c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28350c",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 79.024,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30712,
    "c": 0.06457,
    "h": 125.2
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#28350C
secondary
#422C71
accent
#42E676
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28350C

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

Preview Lab → · Contrast checker → · Palette generator →

#28350C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva