#28350F#28350F

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

Color values

HEX#28350F
RGBrgb(40, 53, 15)
HSLhsl(81, 56%, 13%)
HSVhsv(81, 72%, 21%)
CMYKcmyk(24.5%, 0%, 71.7%, 79.2%)
CIE-LABlab(20.17, -12.68, 21.63)
CIE-LCHlch(20.17, 25.07, 120.37°)
OKLaboklab(30.75% -0.036 0.05)
OKLCHoklch(30.75% 0.062 125.8)
XYZxyz(2.2344, 3.0318, 0.9193)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28350F #1C0F35
analogous
#352F0F #28350F #15350F
triadic
#28350F #0F2835 #350F28
tetradic
#28350F #0F352F #1C0F35 #350F15
square
#28350F #0F352F #1C0F35 #350F15
split-complementary
#28350F #0F1535 #2F0F35
monochromatic
#121807 #121807 #28350F #4C651C #70942A

Accessibility & contrast

On white

13.07
#28350F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#28350F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28350F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28350F#FFFFFF#000000##FFFFFF
##28350F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#363012
Tritanopia (blue-blind)
#2A322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28350f;
/* rgb */ color: rgb(40, 53, 15);
/* oklch */ color: oklch(30.7% 0.062 125.8);
Tailwind
colors: {
  custom: {
    50: '#636c4f',
    500: '#28350f',
    950: '#000000',
  },
}
SCSS
$custom: #28350f;
$custom-light: #636c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28350f",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 15
  },
  "hsl": {
    "h": 80.526,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.06163,
    "h": 125.8
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#28350F
secondary
#46316F
accent
#49DF7C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28350F

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

Preview Lab → · Contrast checker → · Palette generator →

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