#283B10#283B10

#283B10 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.070 H 129.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#283B10
RGBrgb(40, 59, 16)
HSLhsl(87, 57%, 15%)
HSVhsv(87, 73%, 23%)
CMYKcmyk(32.2%, 0%, 72.9%, 76.9%)
CIE-LABlab(22.36, -16.01, 23.50)
CIE-LCHlch(22.36, 28.44, 124.26°)
OKLaboklab(32.52% -0.0451 0.0541)
OKLCHoklch(32.52% 0.07 129.8)
XYZxyz(2.5325, 3.6164, 1.0547)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B10 #23103B
analogous
#3B3910 #283B10 #123B10
triadic
#283B10 #10283B #3B1028
tetradic
#283B10 #103B39 #23103B #3B1012
square
#283B10 #103B39 #23103B #3B1012
split-complementary
#283B10 #10123B #39103B
monochromatic
#101807 #101807 #283B10 #496B1D #699B2A

Accessibility & contrast

On white

12.19
#283B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B10
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B10#FFFFFF#000000##FFFFFF
##283B101.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360B
Deuteranopia (green-blind)
#3B3513
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283b10;
/* rgb */ color: rgb(40, 59, 16);
/* oklch */ color: oklch(32.5% 0.070 129.8);
Tailwind
colors: {
  custom: {
    50: '#647150',
    500: '#283b10',
    950: '#000000',
  },
}
SCSS
$custom: #283b10;
$custom-light: #647150;
$custom-dark: #000000;
JSON
{
  "hex": "#283b10",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 16
  },
  "hsl": {
    "h": 86.512,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32524,
    "c": 0.07045,
    "h": 129.8
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#283B10
secondary
#503275
accent
#47E18B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283B10

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

Preview Lab → · Contrast checker → · Palette generator →

#283B10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva