#628523#628523

#628523 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.130 H 127.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#628523
RGBrgb(98, 133, 35)
HSLhsl(81, 58%, 33%)
HSVhsv(81, 74%, 52%)
CMYKcmyk(26.3%, 0%, 73.7%, 47.8%)
CIE-LABlab(51.26, -27.57, 46.16)
CIE-LCHlch(51.26, 53.77, 120.85°)
OKLaboklab(57.05% -0.079 0.1035)
OKLCHoklch(57.05% 0.13 127.4)
XYZxyz(13.7279, 19.4928, 4.6290)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628523 #462385
analogous
#857723 #628523 #318523
triadic
#628523 #236285 #852362
tetradic
#628523 #238577 #462385 #852331
square
#628523 #238577 #462385 #852331
split-complementary
#628523 #233185 #772385
monochromatic
#1B2409 #3E5516 #628523 #86B530 #A3D151

Accessibility & contrast

On white

4.29
#628523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#628523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628523
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628523#FFFFFF#000000##000000
##6285231.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C12
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#667F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628523;
/* rgb */ color: rgb(98, 133, 35);
/* oklch */ color: oklch(57.0% 0.130 127.4);
Tailwind
colors: {
  custom: {
    50: '#92a865',
    500: '#628523',
    950: '#000000',
  },
}
SCSS
$custom: #628523;
$custom-light: #92a865;
$custom-dark: #000000;
JSON
{
  "hex": "#628523",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 81.429,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.13022,
    "h": 127.4
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#628523
secondary
#734FB5
accent
#46E27E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628523

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

Preview Lab → · Contrast checker → · Palette generator →

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