#283308#283308

#283308 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.1% C 0.065 H 122.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#283308
RGBrgb(40, 51, 8)
HSLhsl(75, 73%, 12%)
HSVhsv(75, 84%, 20%)
CMYKcmyk(21.6%, 0%, 84.3%, 80%)
CIE-LABlab(19.38, -12.12, 23.88)
CIE-LCHlch(19.38, 26.77, 116.91°)
OKLaboklab(30.08% -0.0353 0.0546)
OKLCHoklch(30.08% 0.065 122.9)
XYZxyz(2.1028, 2.8363, 0.6664)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283308 #130833
analogous
#332908 #283308 #133308
triadic
#283308 #082833 #330828
tetradic
#283308 #083329 #130833 #330813
square
#283308 #083329 #130833 #330813
split-complementary
#283308 #081333 #290833
monochromatic
#151A04 #151A04 #283308 #516810 #7B9D19

Accessibility & contrast

On white

13.40
#283308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#283308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283308
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283308#FFFFFF#000000##FFFFFF
##2833081.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F03
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#2B302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283308;
/* rgb */ color: rgb(40, 51, 8);
/* oklch */ color: oklch(30.1% 0.065 122.9);
Tailwind
colors: {
  custom: {
    50: '#636a4b',
    500: '#283308',
    950: '#000000',
  },
}
SCSS
$custom: #283308;
$custom-light: #636a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283308",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 75.349,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30083,
    "c": 0.06503,
    "h": 122.9
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#283308
secondary
#392572
accent
#38F067
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283308

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

Preview Lab → · Contrast checker → · Palette generator →

#283308 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva