#283002#283002

#283002 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.1% C 0.066 H 119.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#283002
RGBrgb(40, 48, 2)
HSLhsl(70, 92%, 10%)
HSVhsv(70, 96%, 19%)
CMYKcmyk(16.7%, 0%, 95.8%, 81.2%)
CIE-LABlab(18.23, -10.83, 24.98)
CIE-LCHlch(18.23, 27.22, 113.43°)
OKLaboklab(29.14% -0.0327 0.0579)
OKLCHoklch(29.14% 0.066 119.4)
XYZxyz(1.9430, 2.5694, 0.4510)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283002 #0A0230
analogous
#302102 #283002 #113002
triadic
#283002 #022830 #300228
tetradic
#283002 #023021 #0A0230 #300211
square
#283002 #023021 #0A0230 #300211
split-complementary
#283002 #021130 #210230
monochromatic
#181D01 #181D01 #283002 #596B04 #8AA607

Accessibility & contrast

On white

13.87
#283002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#283002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283002
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283002#FFFFFF#000000##FFFFFF
##2830021.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#332D05
Tritanopia (blue-blind)
#2B2D27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #283002;
/* rgb */ color: rgb(40, 48, 2);
/* oklch */ color: oklch(29.1% 0.066 119.4);
Tailwind
colors: {
  custom: {
    50: '#636848',
    500: '#283002',
    950: '#000000',
  },
}
SCSS
$custom: #283002;
$custom-light: #636848;
$custom-dark: #000000;
JSON
{
  "hex": "#283002",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 70.435,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2914,
    "c": 0.06648,
    "h": 119.4
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#283002
secondary
#291975
accent
#29FF4E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #283002

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

Preview Lab → · Contrast checker → · Palette generator →

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