#28360F#28360F

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

Color values

HEX#28360F
RGBrgb(40, 54, 15)
HSLhsl(82, 57%, 14%)
HSVhsv(82, 72%, 21%)
CMYKcmyk(25.9%, 0%, 72.2%, 78.8%)
CIE-LABlab(20.53, -13.26, 22.03)
CIE-LCHlch(20.53, 25.72, 121.04°)
OKLaboklab(31.04% -0.0377 0.0508)
OKLCHoklch(31.04% 0.063 126.5)
XYZxyz(2.2805, 3.1239, 0.9347)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28360F #1D0F36
analogous
#36300F #28360F #14360F
triadic
#28360F #0F2836 #360F28
tetradic
#28360F #0F3630 #1D0F36 #360F14
square
#28360F #0F3630 #1D0F36 #360F14
split-complementary
#28360F #0F1436 #300F36
monochromatic
#121807 #121807 #28360F #4B661C #6F962A

Accessibility & contrast

On white

12.92
#28360F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28360F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28360F#FFFFFF#000000##FFFFFF
##28360F1.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320A
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#2A332E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28360f;
/* rgb */ color: rgb(40, 54, 15);
/* oklch */ color: oklch(31.0% 0.063 126.5);
Tailwind
colors: {
  custom: {
    50: '#636d4f',
    500: '#28360f',
    950: '#000000',
  },
}
SCSS
$custom: #28360f;
$custom-light: #636d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28360f",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 15
  },
  "hsl": {
    "h": 81.538,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31041,
    "c": 0.06328,
    "h": 126.5
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#28360F
secondary
#473170
accent
#48E07E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28360F

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

Preview Lab → · Contrast checker → · Palette generator →

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