#283E07#283E07

#283E07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.082 H 129.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#283E07
RGBrgb(40, 62, 7)
HSLhsl(84, 80%, 14%)
HSVhsv(84, 89%, 24%)
CMYKcmyk(35.5%, 0%, 88.7%, 75.7%)
CIE-LABlab(23.38, -18.38, 28.62)
CIE-LCHlch(23.38, 34.01, 122.71°)
OKLaboklab(33.33% -0.0525 0.0635)
OKLCHoklch(33.33% 0.082 129.6)
XYZxyz(2.6360, 3.9116, 0.8171)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E07 #1D073E
analogous
#3E3807 #283E07 #0C3E07
triadic
#283E07 #07283E #3E0728
tetradic
#283E07 #073E38 #1D073E #3E070C
square
#283E07 #073E38 #1D073E #3E070C
split-complementary
#283E07 #070C3E #38073E
monochromatic
#121B03 #121B03 #283E07 #4B750D #6FAC13

Accessibility & contrast

On white

11.78
#283E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#283E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E07
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E07#FFFFFF#000000##FFFFFF
##283E071.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#293B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283e07;
/* rgb */ color: rgb(40, 62, 7);
/* oklch */ color: oklch(33.3% 0.082 129.6);
Tailwind
colors: {
  custom: {
    50: '#65734c',
    500: '#283e07',
    950: '#000000',
  },
}
SCSS
$custom: #283e07;
$custom-light: #65734c;
$custom-dark: #000000;
JSON
{
  "hex": "#283e07",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 84,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.08237,
    "h": 129.6
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#283E07
secondary
#47247D
accent
#32F680
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283E07

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

Preview Lab → · Contrast checker → · Palette generator →

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