#28360B#28360B

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

Color values

HEX#28360B
RGBrgb(40, 54, 11)
HSLhsl(80, 66%, 13%)
HSVhsv(80, 80%, 21%)
CMYKcmyk(25.9%, 0%, 79.6%, 78.8%)
CIE-LABlab(20.49, -13.63, 23.91)
CIE-LCHlch(20.49, 27.52, 119.69°)
OKLaboklab(31% -0.0391 0.0544)
OKLCHoklch(31% 0.067 125.7)
XYZxyz(2.2547, 3.1136, 0.7987)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28360B #190B36
analogous
#362E0B #28360B #12360B
triadic
#28360B #0B2836 #360B28
tetradic
#28360B #0B362E #190B36 #360B12
square
#28360B #0B362E #190B36 #360B12
split-complementary
#28360B #0B1236 #2E0B36
monochromatic
#131905 #131905 #28360B #4E6915 #739C20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28360B#FFFFFF#000000##FFFFFF
##28360B1.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)
#393205
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#2A332D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28360b;
/* rgb */ color: rgb(40, 54, 11);
/* oklch */ color: oklch(31.0% 0.067 125.7);
Tailwind
colors: {
  custom: {
    50: '#636d4d',
    500: '#28360b',
    950: '#000000',
  },
}
SCSS
$custom: #28360b;
$custom-light: #636d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28360b",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 11
  },
  "hsl": {
    "h": 79.535,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30995,
    "c": 0.06706,
    "h": 125.7
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#28360B
secondary
#422A73
accent
#3FE976
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28360B

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

Preview Lab → · Contrast checker → · Palette generator →

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