#283A08#283A08

#283A08 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.076 H 127.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#283A08
RGBrgb(40, 58, 8)
HSLhsl(82, 76%, 13%)
HSVhsv(82, 86%, 23%)
CMYKcmyk(31%, 0%, 86.2%, 77.3%)
CIE-LABlab(21.93, -16.13, 26.70)
CIE-LCHlch(21.93, 31.20, 121.14°)
OKLaboklab(32.15% -0.0463 0.0598)
OKLCHoklch(32.15% 0.076 127.8)
XYZxyz(2.4320, 3.4947, 0.7761)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A08 #1A083A
analogous
#3A3308 #283A08 #0F3A08
triadic
#283A08 #08283A #3A0828
tetradic
#283A08 #083A33 #1A083A #3A080F
square
#283A08 #083A33 #1A083A #3A080F
split-complementary
#283A08 #080F3A #33083A
monochromatic
#131B04 #131B04 #283A08 #4D700F #72A617

Accessibility & contrast

On white

12.36
#283A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#283A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A08
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A08#FFFFFF#000000##FFFFFF
##283A081.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#2A3730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283a08;
/* rgb */ color: rgb(40, 58, 8);
/* oklch */ color: oklch(32.1% 0.076 127.8);
Tailwind
colors: {
  custom: {
    50: '#64704c',
    500: '#283a08',
    950: '#000000',
  },
}
SCSS
$custom: #283a08;
$custom-light: #64704c;
$custom-dark: #000000;
JSON
{
  "hex": "#283a08",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 81.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.07564,
    "h": 127.8
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#283A08
secondary
#432579
accent
#35F279
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283A08

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

Preview Lab → · Contrast checker → · Palette generator →

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