#45851A#45851A

#45851A is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.3% C 0.151 H 136.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#45851A
RGBrgb(69, 133, 26)
HSLhsl(96, 67%, 31%)
HSVhsv(96, 80%, 52%)
CMYKcmyk(48.1%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.63, -39.04, 47.28)
CIE-LCHlch(49.63, 61.31, 129.55°)
OKLaboklab(55.28% -0.1088 0.105)
OKLCHoklch(55.28% 0.151 136)
XYZxyz(11.0279, 18.1141, 3.8924)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45851A #5A1A85
analogous
#7A851A #45851A #1A8524
triadic
#45851A #1A4585 #851A45
tetradic
#45851A #1A7A85 #5A1A85 #85241A
square
#45851A #1A7A85 #5A1A85 #85241A
split-complementary
#45851A #241A85 #851A7A
monochromatic
#101F06 #2A5210 #45851A #60B824 #7EDA40

Accessibility & contrast

On white

4.54
#45851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#45851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45851A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45851A#FFFFFF#000000##000000
##45851A1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#428071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #45851a;
/* rgb */ color: rgb(69, 133, 26);
/* oklch */ color: oklch(55.3% 0.151 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa960',
    500: '#45851a',
    950: '#000000',
  },
}
SCSS
$custom: #45851a;
$custom-light: #7fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#45851a",
  "rgb": {
    "r": 69,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 95.888,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.15123,
    "h": 136
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#45851A
secondary
#8942B8
accent
#3EEAA5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #45851A

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

Preview Lab → · Contrast checker → · Palette generator →

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