#283203#283203

#283203 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.068 H 121.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#283203
RGBrgb(40, 50, 3)
HSLhsl(73, 89%, 10%)
HSVhsv(73, 94%, 20%)
CMYKcmyk(20%, 0%, 94%, 80.4%)
CIE-LABlab(18.97, -11.94, 25.44)
CIE-LCHlch(18.97, 28.10, 115.15°)
OKLaboklab(29.74% -0.0355 0.0583)
OKLCHoklch(29.74% 0.068 121.4)
XYZxyz(2.0321, 2.7389, 0.5077)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283203 #0D0332
analogous
#322403 #283203 #103203
triadic
#283203 #032832 #320328
tetradic
#283203 #033224 #0D0332 #320310
square
#283203 #033224 #0D0332 #320310
split-complementary
#283203 #031032 #240332
monochromatic
#171D02 #171D02 #283203 #566C06 #84A50A

Accessibility & contrast

On white

13.57
#283203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#283203 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283203
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283203#FFFFFF#000000##FFFFFF
##2832031.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#352E07
Tritanopia (blue-blind)
#2B2F29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #283203;
/* rgb */ color: rgb(40, 50, 3);
/* oklch */ color: oklch(29.7% 0.068 121.4);
Tailwind
colors: {
  custom: {
    50: '#636948',
    500: '#283203',
    950: '#000000',
  },
}
SCSS
$custom: #283203;
$custom-light: #636948;
$custom-dark: #000000;
JSON
{
  "hex": "#283203",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 3
  },
  "hsl": {
    "h": 72.766,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29738,
    "c": 0.06827,
    "h": 121.4
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#283203
secondary
#2F1B75
accent
#29FF56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283203

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

Preview Lab → · Contrast checker → · Palette generator →

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