#45821A#45821A

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

Color values

HEX#45821A
RGBrgb(69, 130, 26)
HSLhsl(95, 67%, 31%)
HSVhsv(95, 80%, 51%)
CMYKcmyk(46.9%, 0%, 80%, 49%)
CIE-LABlab(48.64, -37.78, 46.34)
CIE-LCHlch(48.64, 59.79, 129.19°)
OKLaboklab(54.47% -0.1055 0.103)
OKLCHoklch(54.47% 0.147 135.7)
XYZxyz(10.6231, 17.3044, 3.7574)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45821A #571A82
analogous
#79821A #45821A #1A8223
triadic
#45821A #1A4582 #821A45
tetradic
#45821A #1A7982 #571A82 #82231A
square
#45821A #1A7982 #571A82 #82231A
split-complementary
#45821A #231A82 #821A79
monochromatic
#0F1C06 #2A4F10 #45821A #60B524 #7ED83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45821A#FFFFFF#000000##FFFFFF
##45821A1.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)
#877700
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#437D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45821a;
/* rgb */ color: rgb(69, 130, 26);
/* oklch */ color: oklch(54.5% 0.147 135.7);
Tailwind
colors: {
  custom: {
    50: '#7fa760',
    500: '#45821a',
    950: '#000000',
  },
}
SCSS
$custom: #45821a;
$custom-light: #7fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#45821a",
  "rgb": {
    "r": 69,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 95.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.14743,
    "h": 135.7
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#45821A
secondary
#8642B6
accent
#3EEAA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45821A

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

Preview Lab → · Contrast checker → · Palette generator →

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