#45831A#45831A

#45831A is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.149 H 135.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#45831A
RGBrgb(69, 131, 26)
HSLhsl(95, 67%, 31%)
HSVhsv(95, 80%, 51%)
CMYKcmyk(47.3%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.97, -38.20, 46.65)
CIE-LCHlch(48.97, 60.30, 129.31°)
OKLaboklab(54.74% -0.1066 0.1037)
OKLCHoklch(54.74% 0.149 135.8)
XYZxyz(10.7567, 17.5717, 3.8020)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45831A #581A83
analogous
#79831A #45831A #1A8324
triadic
#45831A #1A4583 #831A45
tetradic
#45831A #1A7983 #581A83 #83241A
square
#45831A #1A7983 #581A83 #83241A
split-complementary
#45831A #241A83 #831A79
monochromatic
#0F1D06 #2A5010 #45831A #60B624 #7ED93F

Accessibility & contrast

On white

4.65
#45831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#45831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #45831A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45831A#FFFFFF#000000##FFFFFF
##45831A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#437E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45831a;
/* rgb */ color: rgb(69, 131, 26);
/* oklch */ color: oklch(54.7% 0.149 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa760',
    500: '#45831a',
    950: '#000000',
  },
}
SCSS
$custom: #45831a;
$custom-light: #7fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#45831a",
  "rgb": {
    "r": 69,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 95.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.1487,
    "h": 135.8
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#45831A
secondary
#8742B7
accent
#3EEAA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45831A

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

Preview Lab → · Contrast checker → · Palette generator →

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