#283502#283502

#283502 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.073 H 123.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#283502
RGBrgb(40, 53, 2)
HSLhsl(75, 93%, 11%)
HSVhsv(75, 96%, 21%)
CMYKcmyk(24.5%, 0%, 96.2%, 79.2%)
CIE-LABlab(20.05, -13.78, 27.09)
CIE-LCHlch(20.05, 30.39, 116.97°)
OKLaboklab(30.61% -0.0407 0.0612)
OKLCHoklch(30.61% 0.073 123.6)
XYZxyz(2.1592, 3.0017, 0.5231)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283502 #0F0235
analogous
#352802 #283502 #0E3502
triadic
#283502 #022835 #350228
tetradic
#283502 #023528 #0F0235 #35020E
square
#283502 #023528 #0F0235 #35020E
split-complementary
#283502 #020E35 #280235
monochromatic
#161D01 #161D01 #283502 #557004 #81AB06

Accessibility & contrast

On white

13.12
#283502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#283502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283502
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283502#FFFFFF#000000##FFFFFF
##2835021.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#2B322C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283502;
/* rgb */ color: rgb(40, 53, 2);
/* oklch */ color: oklch(30.6% 0.073 123.6);
Tailwind
colors: {
  custom: {
    50: '#646c48',
    500: '#283502',
    950: '#000000',
  },
}
SCSS
$custom: #283502;
$custom-light: #646c48;
$custom-dark: #000000;
JSON
{
  "hex": "#283502",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 2
  },
  "hsl": {
    "h": 75.294,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.07348,
    "h": 123.6
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#283502
secondary
#321A79
accent
#29FF5F
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283502

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

Preview Lab → · Contrast checker → · Palette generator →

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