#283D07#283D07

#283D07 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.081 H 129.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#283D07
RGBrgb(40, 61, 7)
HSLhsl(83, 79%, 13%)
HSVhsv(83, 89%, 24%)
CMYKcmyk(34.4%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.01, -17.85, 28.25)
CIE-LCHlch(23.01, 33.41, 122.29°)
OKLaboklab(33.03% -0.0511 0.0627)
OKLCHoklch(33.03% 0.081 129.1)
XYZxyz(2.5822, 3.8039, 0.7991)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D07 #1C073D
analogous
#3D3707 #283D07 #0D3D07
triadic
#283D07 #07283D #3D0728
tetradic
#283D07 #073D37 #1C073D #3D070D
square
#283D07 #073D37 #1C073D #3D070D
split-complementary
#283D07 #070D3D #37073D
monochromatic
#121B03 #121B03 #283D07 #4C740D #70AB14

Accessibility & contrast

On white

11.93
#283D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#283D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D07
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D07#FFFFFF#000000##FFFFFF
##283D071.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#3E360C
Tritanopia (blue-blind)
#2A3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d07;
/* rgb */ color: rgb(40, 61, 7);
/* oklch */ color: oklch(33.0% 0.081 129.1);
Tailwind
colors: {
  custom: {
    50: '#64724c',
    500: '#283d07',
    950: '#000000',
  },
}
SCSS
$custom: #283d07;
$custom-light: #64724c;
$custom-dark: #000000;
JSON
{
  "hex": "#283d07",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 83.333,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3303,
    "c": 0.08089,
    "h": 129.1
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#283D07
secondary
#46237C
accent
#32F67E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283D07

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

Preview Lab → · Contrast checker → · Palette generator →

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