#283307#283307

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

Color values

HEX#283307
RGBrgb(40, 51, 7)
HSLhsl(75, 76%, 11%)
HSVhsv(75, 86%, 20%)
CMYKcmyk(21.6%, 0%, 86.3%, 80%)
CIE-LABlab(19.37, -12.20, 24.27)
CIE-LCHlch(19.37, 27.17, 116.69°)
OKLaboklab(30.07% -0.0357 0.0554)
OKLCHoklch(30.07% 0.066 122.8)
XYZxyz(2.0973, 2.8341, 0.6375)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283307 #120733
analogous
#332807 #283307 #123307
triadic
#283307 #072833 #330728
tetradic
#283307 #073328 #120733 #330712
square
#283307 #073328 #120733 #330712
split-complementary
#283307 #071233 #280733
monochromatic
#151B04 #151B04 #283307 #52690E #7C9F16

Accessibility & contrast

On white

13.40
#283307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283307
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283307#FFFFFF#000000##FFFFFF
##2833071.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283307;
/* rgb */ color: rgb(40, 51, 7);
/* oklch */ color: oklch(30.1% 0.066 122.8);
Tailwind
colors: {
  custom: {
    50: '#636a4a',
    500: '#283307',
    950: '#000000',
  },
}
SCSS
$custom: #283307;
$custom-light: #636a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#283307",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 75,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.06593,
    "h": 122.8
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#283307
secondary
#372373
accent
#35F265
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283307

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

Preview Lab → · Contrast checker → · Palette generator →

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