#283F04#283F04

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

Color values

HEX#283F04
RGBrgb(40, 63, 4)
HSLhsl(83, 88%, 13%)
HSVhsv(83, 94%, 25%)
CMYKcmyk(36.5%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.72, -19.13, 30.19)
CIE-LCHlch(23.72, 35.74, 122.36°)
OKLaboklab(33.6% -0.0548 0.0663)
OKLCHoklch(33.6% 0.086 129.6)
XYZxyz(2.6745, 4.0148, 0.7489)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F04 #1B043F
analogous
#3F3804 #283F04 #0A3F04
triadic
#283F04 #04283F #3F0428
tetradic
#283F04 #043F38 #1B043F #3F040A
square
#283F04 #043F38 #1B043F #3F040A
split-complementary
#283F04 #040A3F #38043F
monochromatic
#121D02 #121D02 #283F04 #4D7908 #71B20B

Accessibility & contrast

On white

11.65
#283F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F04
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F04#FFFFFF#000000##FFFFFF
##283F041.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3F380A
Tritanopia (blue-blind)
#293C34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283f04;
/* rgb */ color: rgb(40, 63, 4);
/* oklch */ color: oklch(33.6% 0.086 129.6);
Tailwind
colors: {
  custom: {
    50: '#65744a',
    500: '#283f04',
    950: '#000000',
  },
}
SCSS
$custom: #283f04;
$custom-light: #65744a;
$custom-dark: #000000;
JSON
{
  "hex": "#283f04",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 83.39,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.336,
    "c": 0.08603,
    "h": 129.6
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#283F04
secondary
#451E80
accent
#2AFE7C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283F04

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

Preview Lab → · Contrast checker → · Palette generator →

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