#283102#283102

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

Color values

HEX#283102
RGBrgb(40, 49, 2)
HSLhsl(71, 92%, 10%)
HSVhsv(71, 96%, 19%)
CMYKcmyk(18.4%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.59, -11.43, 25.41)
CIE-LCHlch(18.59, 27.86, 114.22°)
OKLaboklab(29.43% -0.0343 0.0586)
OKLCHoklch(29.43% 0.068 120.4)
XYZxyz(1.9844, 2.6521, 0.4648)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283102 #0B0231
analogous
#312202 #283102 #113102
triadic
#283102 #022831 #310228
tetradic
#283102 #023122 #0B0231 #310211
square
#283102 #023122 #0B0231 #310211
split-complementary
#283102 #021131 #220231
monochromatic
#181D01 #181D01 #283102 #586C04 #88A707

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283102#FFFFFF#000000##FFFFFF
##2831021.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)
#342D05
Tritanopia (blue-blind)
#2B2E28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #283102;
/* rgb */ color: rgb(40, 49, 2);
/* oklch */ color: oklch(29.4% 0.068 120.4);
Tailwind
colors: {
  custom: {
    50: '#636948',
    500: '#283102',
    950: '#000000',
  },
}
SCSS
$custom: #283102;
$custom-light: #636948;
$custom-dark: #000000;
JSON
{
  "hex": "#283102",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 71.489,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.29433,
    "c": 0.06786,
    "h": 120.4
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#283102
secondary
#2B1975
accent
#29FF52
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #283102

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

Preview Lab → · Contrast checker → · Palette generator →

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