#283A03#283A03

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

Color values

HEX#283A03
RGBrgb(40, 58, 3)
HSLhsl(80, 90%, 12%)
HSVhsv(80, 95%, 23%)
CMYKcmyk(31%, 0%, 94.8%, 77.3%)
CIE-LABlab(21.89, -16.52, 28.70)
CIE-LCHlch(21.89, 33.11, 119.93°)
OKLaboklab(32.1% -0.0479 0.0637)
OKLCHoklch(32.1% 0.08 127)
XYZxyz(2.4046, 3.4838, 0.6319)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A03 #15033A
analogous
#3A3103 #283A03 #0D3A03
triadic
#283A03 #03283A #3A0328
tetradic
#283A03 #033A31 #15033A #3A030D
square
#283A03 #033A31 #15033A #3A030D
split-complementary
#283A03 #030D3A #31033A
monochromatic
#141D02 #141D02 #283A03 #507406 #78AE09

Accessibility & contrast

On white

12.38
#283A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A03
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A03#FFFFFF#000000##FFFFFF
##283A031.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283a03;
/* rgb */ color: rgb(40, 58, 3);
/* oklch */ color: oklch(32.1% 0.080 127.0);
Tailwind
colors: {
  custom: {
    50: '#647049',
    500: '#283a03',
    950: '#000000',
  },
}
SCSS
$custom: #283a03;
$custom-light: #647049;
$custom-dark: #000000;
JSON
{
  "hex": "#283a03",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 79.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32103,
    "c": 0.07969,
    "h": 127
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#283A03
secondary
#3C1C7D
accent
#29FF6F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283A03

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

Preview Lab → · Contrast checker → · Palette generator →

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