#627912#627912

#627912 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.9% C 0.124 H 122.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#627912
RGBrgb(98, 121, 18)
HSLhsl(73, 74%, 27%)
HSVhsv(73, 85%, 47%)
CMYKcmyk(19%, 0%, 85.1%, 52.5%)
CIE-LABlab(47.39, -22.49, 48.28)
CIE-LCHlch(47.39, 53.26, 114.98°)
OKLaboklab(53.88% -0.0665 0.105)
OKLCHoklch(53.88% 0.124 122.3)
XYZxyz(11.9838, 16.3150, 3.0899)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627912 #291279
analogous
#795D12 #627912 #2F7912
triadic
#627912 #126279 #791262
tetradic
#627912 #12795D #291279 #79122F
square
#627912 #12795D #291279 #79122F
split-complementary
#627912 #122F79 #5D1279
monochromatic
#161B04 #37440A #627912 #8DAE1A #B6DF27

Accessibility & contrast

On white

4.93
#627912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#627912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627912
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627912#FFFFFF#000000##FFFFFF
##6279121.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7E701D
Tritanopia (blue-blind)
#687267
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #627912;
/* rgb */ color: rgb(98, 121, 18);
/* oklch */ color: oklch(53.9% 0.124 122.3);
Tailwind
colors: {
  custom: {
    50: '#929f5b',
    500: '#627912',
    950: '#000000',
  },
}
SCSS
$custom: #627912;
$custom-light: #929f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#627912",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 18
  },
  "hsl": {
    "h": 73.398,
    "s": 74.101,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.12434,
    "h": 122.3
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#627912
secondary
#5238AF
accent
#37F161
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627912

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

Preview Lab → · Contrast checker → · Palette generator →

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