#283B07#283B07

#283B07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.078 H 128.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#283B07
RGBrgb(40, 59, 7)
HSLhsl(82, 79%, 13%)
HSVhsv(82, 88%, 23%)
CMYKcmyk(32.2%, 0%, 88.1%, 76.9%)
CIE-LABlab(22.28, -16.76, 27.49)
CIE-LCHlch(22.28, 32.19, 121.37°)
OKLaboklab(32.44% -0.0481 0.0613)
OKLCHoklch(32.44% 0.078 128.1)
XYZxyz(2.4774, 3.5943, 0.7642)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B07 #1A073B
analogous
#3B3407 #283B07 #0E3B07
triadic
#283B07 #07283B #3B0728
tetradic
#283B07 #073B34 #1A073B #3B070E
square
#283B07 #073B34 #1A073B #3B070E
split-complementary
#283B07 #070E3B #34073B
monochromatic
#131B03 #131B03 #283B07 #4D720D #72A814

Accessibility & contrast

On white

12.22
#283B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B07
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B07#FFFFFF#000000##FFFFFF
##283B071.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#2A3831
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283b07;
/* rgb */ color: rgb(40, 59, 7);
/* oklch */ color: oklch(32.4% 0.078 128.1);
Tailwind
colors: {
  custom: {
    50: '#64714b',
    500: '#283b07',
    950: '#000000',
  },
}
SCSS
$custom: #283b07;
$custom-light: #64714b;
$custom-dark: #000000;
JSON
{
  "hex": "#283b07",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 81.923,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.07793,
    "h": 128.1
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#283B07
secondary
#43237A
accent
#33F57A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283B07

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

Preview Lab → · Contrast checker → · Palette generator →

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