#45821C#45821C

#45821C is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.146 H 135.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#45821C
RGBrgb(69, 130, 28)
HSLhsl(96, 65%, 31%)
HSVhsv(96, 78%, 51%)
CMYKcmyk(46.9%, 0%, 78.5%, 49%)
CIE-LABlab(48.65, -37.66, 45.66)
CIE-LCHlch(48.65, 59.18, 129.51°)
OKLaboklab(54.48% -0.105 0.1019)
OKLCHoklch(54.48% 0.146 135.9)
XYZxyz(10.6462, 17.3137, 3.8793)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45821C #591C82
analogous
#78821C #45821C #1C8226
triadic
#45821C #1C4582 #821C45
tetradic
#45821C #1C7882 #591C82 #82261C
square
#45821C #1C7882 #591C82 #82261C
split-complementary
#45821C #261C82 #821C78
monochromatic
#101D06 #2A5011 #45821C #60B427 #7ED642

Accessibility & contrast

On white

4.71
#45821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#45821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45821C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45821C#FFFFFF#000000##FFFFFF
##45821C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#437D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45821c;
/* rgb */ color: rgb(69, 130, 28);
/* oklch */ color: oklch(54.5% 0.146 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa761',
    500: '#45821c',
    950: '#000000',
  },
}
SCSS
$custom: #45821c;
$custom-light: #7fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#45821c",
  "rgb": {
    "r": 69,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 95.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.14632,
    "h": 135.9
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#45821C
secondary
#8844B5
accent
#40E8A4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45821C

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

Preview Lab → · Contrast checker → · Palette generator →

#45821C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva