#283A07#283A07

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

Color values

HEX#283A07
RGBrgb(40, 58, 7)
HSLhsl(81, 78%, 13%)
HSVhsv(81, 88%, 23%)
CMYKcmyk(31%, 0%, 87.9%, 77.3%)
CIE-LABlab(21.92, -16.21, 27.10)
CIE-LCHlch(21.92, 31.58, 120.89°)
OKLaboklab(32.14% -0.0466 0.0606)
OKLCHoklch(32.14% 0.076 127.6)
XYZxyz(2.4265, 3.4925, 0.7473)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A07 #19073A
analogous
#3A3207 #283A07 #0F3A07
triadic
#283A07 #07283A #3A0728
tetradic
#283A07 #073A32 #19073A #3A070F
square
#283A07 #073A32 #19073A #3A070F
split-complementary
#283A07 #070F3A #32073A
monochromatic
#131B03 #131B03 #283A07 #4E710E #73A714

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283A07#FFFFFF#000000##FFFFFF
##283A071.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)
#3D3500
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#2A3730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283a07;
/* rgb */ color: rgb(40, 58, 7);
/* oklch */ color: oklch(32.1% 0.076 127.6);
Tailwind
colors: {
  custom: {
    50: '#64704b',
    500: '#283a07',
    950: '#000000',
  },
}
SCSS
$custom: #283a07;
$custom-light: #64704b;
$custom-dark: #000000;
JSON
{
  "hex": "#283a07",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 81.176,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.07644,
    "h": 127.6
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#283A07
secondary
#422379
accent
#33F577
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283A07

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

Preview Lab → · Contrast checker → · Palette generator →

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