#283C07#283C07

#283C07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.079 H 128.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#283C07
RGBrgb(40, 60, 7)
HSLhsl(83, 79%, 13%)
HSVhsv(83, 88%, 24%)
CMYKcmyk(33.3%, 0%, 88.3%, 76.5%)
CIE-LABlab(22.65, -17.31, 27.87)
CIE-LCHlch(22.65, 32.81, 121.84°)
OKLaboklab(32.73% -0.0496 0.062)
OKLCHoklch(32.73% 0.079 128.7)
XYZxyz(2.5293, 3.6981, 0.7815)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C07 #1B073C
analogous
#3C3507 #283C07 #0D3C07
triadic
#283C07 #07283C #3C0728
tetradic
#283C07 #073C35 #1B073C #3C070D
square
#283C07 #073C35 #1B073C #3C070D
split-complementary
#283C07 #070D3C #35073C
monochromatic
#121B03 #121B03 #283C07 #4D730D #71AA14

Accessibility & contrast

On white

12.07
#283C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#283C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C07
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C07#FFFFFF#000000##FFFFFF
##283C071.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#2A3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c07;
/* rgb */ color: rgb(40, 60, 7);
/* oklch */ color: oklch(32.7% 0.079 128.7);
Tailwind
colors: {
  custom: {
    50: '#64714b',
    500: '#283c07',
    950: '#000000',
  },
}
SCSS
$custom: #283c07;
$custom-light: #64714b;
$custom-dark: #000000;
JSON
{
  "hex": "#283c07",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 82.642,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.07941,
    "h": 128.7
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#283C07
secondary
#45237B
accent
#32F67C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283C07

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

Preview Lab → · Contrast checker → · Palette generator →

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