#658228#658228

#658228 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.121 H 125.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#658228
RGBrgb(101, 130, 40)
HSLhsl(79, 53%, 33%)
HSVhsv(79, 69%, 51%)
CMYKcmyk(22.3%, 0%, 69.2%, 49%)
CIE-LABlab(50.55, -24.50, 43.47)
CIE-LCHlch(50.55, 49.90, 119.41°)
OKLaboklab(56.54% -0.0703 0.0986)
OKLCHoklch(56.54% 0.121 125.5)
XYZxyz(13.7325, 18.8850, 4.9288)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#658228 #452882
analogous
#827228 #658228 #388228
triadic
#658228 #286582 #822865
tetradic
#658228 #288272 #452882 #822838
square
#658228 #288272 #452882 #822838
split-complementary
#658228 #283882 #722882
monochromatic
#1C240B #41531A #658228 #89B136 #A7CC59

Accessibility & contrast

On white

4.40
#658228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#658228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #658228
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##658228#FFFFFF#000000##000000
##6582281.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#697C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #658228;
/* rgb */ color: rgb(101, 130, 40);
/* oklch */ color: oklch(56.5% 0.121 125.5);
Tailwind
colors: {
  custom: {
    50: '#94a667',
    500: '#658228',
    950: '#000000',
  },
}
SCSS
$custom: #658228;
$custom-light: #94a667;
$custom-dark: #000000;
JSON
{
  "hex": "#658228",
  "rgb": {
    "r": 101,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 79.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.12109,
    "h": 125.5
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#658228
secondary
#7355B1
accent
#4BDC7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #658228

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

Preview Lab → · Contrast checker → · Palette generator →

#658228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva