#45821B#45821B

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

Color values

HEX#45821B
RGBrgb(69, 130, 27)
HSLhsl(96, 66%, 31%)
HSVhsv(96, 79%, 51%)
CMYKcmyk(46.9%, 0%, 79.2%, 49%)
CIE-LABlab(48.65, -37.72, 46.00)
CIE-LCHlch(48.65, 59.49, 129.35°)
OKLaboklab(54.47% -0.1052 0.1025)
OKLCHoklch(54.47% 0.147 135.8)
XYZxyz(10.6344, 17.3089, 3.8173)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45821B #581B82
analogous
#78821B #45821B #1B8224
triadic
#45821B #1B4582 #821B45
tetradic
#45821B #1B7882 #581B82 #82241B
square
#45821B #1B7882 #581B82 #82241B
split-complementary
#45821B #241B82 #821B78
monochromatic
#0F1D06 #2A4F10 #45821B #60B526 #7ED740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45821B#FFFFFF#000000##FFFFFF
##45821B1.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)
#877702
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#437D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45821b;
/* rgb */ color: rgb(69, 130, 27);
/* oklch */ color: oklch(54.5% 0.147 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa760',
    500: '#45821b',
    950: '#000000',
  },
}
SCSS
$custom: #45821b;
$custom-light: #7fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#45821b",
  "rgb": {
    "r": 69,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 95.534,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.14689,
    "h": 135.8
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#45821B
secondary
#8743B6
accent
#3FE9A4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45821B

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

Preview Lab → · Contrast checker → · Palette generator →

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