#283A06#283A06

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

Color values

HEX#283A06
RGBrgb(40, 58, 6)
HSLhsl(81, 81%, 13%)
HSVhsv(81, 90%, 23%)
CMYKcmyk(31%, 0%, 89.7%, 77.3%)
CIE-LABlab(21.91, -16.29, 27.50)
CIE-LCHlch(21.91, 31.96, 120.64°)
OKLaboklab(32.13% -0.0469 0.0613)
OKLCHoklch(32.13% 0.077 127.4)
XYZxyz(2.4210, 3.4903, 0.7184)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A06 #18063A
analogous
#3A3206 #283A06 #0E3A06
triadic
#283A06 #06283A #3A0628
tetradic
#283A06 #063A32 #18063A #3A060E
square
#283A06 #063A32 #18063A #3A060E
split-complementary
#283A06 #060E3A #32063A
monochromatic
#131C03 #131C03 #283A06 #4E710C #75A911

Accessibility & contrast

On white

12.37
#283A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A06
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A06#FFFFFF#000000##FFFFFF
##283A061.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283a06;
/* rgb */ color: rgb(40, 58, 6);
/* oklch */ color: oklch(32.1% 0.077 127.4);
Tailwind
colors: {
  custom: {
    50: '#64704b',
    500: '#283a06',
    950: '#000000',
  },
}
SCSS
$custom: #283a06;
$custom-light: #64704b;
$custom-dark: #000000;
JSON
{
  "hex": "#283a06",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 80.769,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3213,
    "c": 0.07724,
    "h": 127.4
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#283A06
secondary
#40227A
accent
#30F875
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283A06

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

Preview Lab → · Contrast checker → · Palette generator →

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