#28320F#28320F

#28320F is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.057 H 123.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#28320F
RGBrgb(40, 50, 15)
HSLhsl(77, 54%, 13%)
HSVhsv(77, 70%, 20%)
CMYKcmyk(20%, 0%, 70%, 80.4%)
CIE-LABlab(19.08, -10.88, 20.39)
CIE-LCHlch(19.08, 23.11, 118.09°)
OKLaboklab(29.87% -0.0311 0.0474)
OKLCHoklch(29.87% 0.057 123.2)
XYZxyz(2.1019, 2.7668, 0.8752)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28320F #190F32
analogous
#322A0F #28320F #16320F
triadic
#28320F #0F2832 #320F28
tetradic
#28320F #0F322A #190F32 #320F16
square
#28320F #0F322A #190F32 #320F16
split-complementary
#28320F #0F1632 #2A0F32
monochromatic
#131807 #131807 #28320F #4E611D #73902B

Accessibility & contrast

On white

13.52
#28320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#28320F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28320F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28320F#FFFFFF#000000##FFFFFF
##28320F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0B
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#2A2F2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #28320f;
/* rgb */ color: rgb(40, 50, 15);
/* oklch */ color: oklch(29.9% 0.057 123.2);
Tailwind
colors: {
  custom: {
    50: '#63694f',
    500: '#28320f',
    950: '#000000',
  },
}
SCSS
$custom: #28320f;
$custom-light: #63694f;
$custom-dark: #000000;
JSON
{
  "hex": "#28320f",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 77.143,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29871,
    "c": 0.05668,
    "h": 123.2
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#28320F
secondary
#42316C
accent
#4BDD74
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #28320F

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

Preview Lab → · Contrast checker → · Palette generator →

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