#283F05#283F05

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

Color values

HEX#283F05
RGBrgb(40, 63, 5)
HSLhsl(84, 85%, 13%)
HSVhsv(84, 92%, 25%)
CMYKcmyk(36.5%, 0%, 92.1%, 75.3%)
CIE-LABlab(23.73, -19.06, 29.79)
CIE-LCHlch(23.73, 35.36, 122.61°)
OKLaboklab(33.61% -0.0545 0.0656)
OKLCHoklch(33.61% 0.085 129.8)
XYZxyz(2.6800, 4.0170, 0.7777)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F05 #1C053F
analogous
#3F3905 #283F05 #0B3F05
triadic
#283F05 #05283F #3F0528
tetradic
#283F05 #053F39 #1C053F #3F050B
square
#283F05 #053F39 #1C053F #3F050B
split-complementary
#283F05 #050B3F #39053F
monochromatic
#121C02 #121C02 #283F05 #4C7809 #70B00E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283F05#FFFFFF#000000##FFFFFF
##283F051.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)
#3F380B
Tritanopia (blue-blind)
#293C34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283f05;
/* rgb */ color: rgb(40, 63, 5);
/* oklch */ color: oklch(33.6% 0.085 129.8);
Tailwind
colors: {
  custom: {
    50: '#65744b',
    500: '#283f05',
    950: '#000000',
  },
}
SCSS
$custom: #283f05;
$custom-light: #65744b;
$custom-dark: #000000;
JSON
{
  "hex": "#283f05",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 83.793,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33608,
    "c": 0.08529,
    "h": 129.8
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#283F05
secondary
#462080
accent
#2CFC7E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283F05

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

Preview Lab → · Contrast checker → · Palette generator →

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