#283103#283103

#283103 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.4% C 0.067 H 120.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#283103
RGBrgb(40, 49, 3)
HSLhsl(72, 88%, 10%)
HSVhsv(72, 94%, 19%)
CMYKcmyk(18.4%, 0%, 93.9%, 80.8%)
CIE-LABlab(18.60, -11.34, 25.01)
CIE-LCHlch(18.60, 27.46, 114.39°)
OKLaboklab(29.44% -0.0339 0.0576)
OKLCHoklch(29.44% 0.067 120.5)
XYZxyz(1.9899, 2.6543, 0.4936)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283103 #0C0331
analogous
#312303 #283103 #113103
triadic
#283103 #032831 #310328
tetradic
#283103 #033123 #0C0331 #310311
square
#283103 #033123 #0C0331 #310311
split-complementary
#283103 #031131 #230331
monochromatic
#181D02 #181D02 #283103 #576B07 #86A40A

Accessibility & contrast

On white

13.72
#283103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#283103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283103
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283103#FFFFFF#000000##FFFFFF
##2831031.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#342D06
Tritanopia (blue-blind)
#2B2E28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #283103;
/* rgb */ color: rgb(40, 49, 3);
/* oklch */ color: oklch(29.4% 0.067 120.5);
Tailwind
colors: {
  custom: {
    50: '#636948',
    500: '#283103',
    950: '#000000',
  },
}
SCSS
$custom: #283103;
$custom-light: #636948;
$custom-dark: #000000;
JSON
{
  "hex": "#283103",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 71.739,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29444,
    "c": 0.06684,
    "h": 120.5
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#283103
secondary
#2D1B74
accent
#29FF53
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283103

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

Preview Lab → · Contrast checker → · Palette generator →

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