#28330F#28330F

#28330F is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.058 H 124.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#28330F
RGBrgb(40, 51, 15)
HSLhsl(78, 55%, 13%)
HSVhsv(78, 71%, 20%)
CMYKcmyk(21.6%, 0%, 70.6%, 80%)
CIE-LABlab(19.45, -11.49, 20.80)
CIE-LCHlch(19.45, 23.76, 118.90°)
OKLaboklab(30.16% -0.0327 0.0483)
OKLCHoklch(30.16% 0.058 124.2)
XYZxyz(2.1451, 2.8532, 0.8896)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28330F #1A0F33
analogous
#332C0F #28330F #16330F
triadic
#28330F #0F2833 #330F28
tetradic
#28330F #0F332C #1A0F33 #330F16
square
#28330F #0F332C #1A0F33 #330F16
split-complementary
#28330F #0F1633 #2C0F33
monochromatic
#131807 #131807 #28330F #4D621D #72922B

Accessibility & contrast

On white

13.37
#28330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#28330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28330F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28330F#FFFFFF#000000##FFFFFF
##28330F1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#2A302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #28330f;
/* rgb */ color: rgb(40, 51, 15);
/* oklch */ color: oklch(30.2% 0.058 124.2);
Tailwind
colors: {
  custom: {
    50: '#636a4f',
    500: '#28330f',
    950: '#000000',
  },
}
SCSS
$custom: #28330f;
$custom-light: #636a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28330f",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 78.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30163,
    "c": 0.05834,
    "h": 124.2
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#28330F
secondary
#43316D
accent
#4ADE77
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #28330F

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

Preview Lab → · Contrast checker → · Palette generator →

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