#28360C#28360C

#28360C is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.066 H 125.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#28360C
RGBrgb(40, 54, 12)
HSLhsl(80, 64%, 13%)
HSVhsv(80, 78%, 21%)
CMYKcmyk(25.9%, 0%, 77.8%, 78.8%)
CIE-LABlab(20.50, -13.55, 23.48)
CIE-LCHlch(20.50, 27.10, 119.99°)
OKLaboklab(31.01% -0.0388 0.0536)
OKLCHoklch(31.01% 0.066 125.9)
XYZxyz(2.2606, 3.1160, 0.8301)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28360C #1A0C36
analogous
#362F0C #28360C #13360C
triadic
#28360C #0C2836 #360C28
tetradic
#28360C #0C362F #1A0C36 #360C13
square
#28360C #0C362F #1A0C36 #360C13
split-complementary
#28360C #0C1336 #2F0C36
monochromatic
#131906 #131906 #28360C #4D6817 #729A22

Accessibility & contrast

On white

12.94
#28360C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#28360C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28360C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28360C#FFFFFF#000000##FFFFFF
##28360C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393207
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#2A332D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28360c;
/* rgb */ color: rgb(40, 54, 12);
/* oklch */ color: oklch(31.0% 0.066 125.9);
Tailwind
colors: {
  custom: {
    50: '#636d4d',
    500: '#28360c',
    950: '#000000',
  },
}
SCSS
$custom: #28360c;
$custom-light: #636d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28360c",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 12
  },
  "hsl": {
    "h": 80,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.06617,
    "h": 125.9
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#28360C
secondary
#432C72
accent
#41E778
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28360C

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

Preview Lab → · Contrast checker → · Palette generator →

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