#283F08#283F08

#283F08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.083 H 130.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#283F08
RGBrgb(40, 63, 8)
HSLhsl(85, 77%, 14%)
HSVhsv(85, 87%, 25%)
CMYKcmyk(36.5%, 0%, 87.3%, 75.3%)
CIE-LABlab(23.75, -18.84, 28.59)
CIE-LCHlch(23.75, 34.24, 123.39°)
OKLaboklab(33.63% -0.0537 0.0635)
OKLCHoklch(33.63% 0.083 130.2)
XYZxyz(2.6964, 4.0236, 0.8642)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F08 #1F083F
analogous
#3F3B08 #283F08 #0D3F08
triadic
#283F08 #08283F #3F0828
tetradic
#283F08 #083F3B #1F083F #3F080D
square
#283F08 #083F3B #1F083F #3F080D
split-complementary
#283F08 #080D3F #3B083F
monochromatic
#111B03 #111B03 #283F08 #4A750F #6DAC16

Accessibility & contrast

On white

11.64
#283F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#283F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F08
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F08#FFFFFF#000000##FFFFFF
##283F081.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A00
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#293C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f08;
/* rgb */ color: rgb(40, 63, 8);
/* oklch */ color: oklch(33.6% 0.083 130.2);
Tailwind
colors: {
  custom: {
    50: '#65744c',
    500: '#283f08',
    950: '#000000',
  },
}
SCSS
$custom: #283f08;
$custom-light: #65744c;
$custom-dark: #000000;
JSON
{
  "hex": "#283f08",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 85.091,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33632,
    "c": 0.08311,
    "h": 130.2
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#283F08
secondary
#4A257E
accent
#34F484
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283F08

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

Preview Lab → · Contrast checker → · Palette generator →

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