#283306#283306

#283306 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.1% C 0.067 H 122.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#283306
RGBrgb(40, 51, 6)
HSLhsl(75, 79%, 11%)
HSVhsv(75, 88%, 20%)
CMYKcmyk(21.6%, 0%, 88.2%, 80%)
CIE-LABlab(19.36, -12.28, 24.67)
CIE-LCHlch(19.36, 27.56, 116.47°)
OKLaboklab(30.06% -0.036 0.0563)
OKLCHoklch(30.06% 0.067 122.6)
XYZxyz(2.0918, 2.8319, 0.6087)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283306 #110633
analogous
#332706 #283306 #113306
triadic
#283306 #062833 #330628
tetradic
#283306 #063327 #110633 #330611
square
#283306 #063327 #110633 #330611
split-complementary
#283306 #061133 #270633
monochromatic
#151B03 #151B03 #283306 #536A0C #7EA113

Accessibility & contrast

On white

13.41
#283306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#283306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283306
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283306#FFFFFF#000000##FFFFFF
##2833061.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F01
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#2B302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283306;
/* rgb */ color: rgb(40, 51, 6);
/* oklch */ color: oklch(30.1% 0.067 122.6);
Tailwind
colors: {
  custom: {
    50: '#636a4a',
    500: '#283306',
    950: '#000000',
  },
}
SCSS
$custom: #283306;
$custom-light: #636a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#283306",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 74.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30063,
    "c": 0.06686,
    "h": 122.6
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#283306
secondary
#352174
accent
#32F562
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283306

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

Preview Lab → · Contrast checker → · Palette generator →

#283306 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva