#627B14#627B14

#627B14 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.4% C 0.126 H 123.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#627B14
RGBrgb(98, 123, 20)
HSLhsl(75, 72%, 28%)
HSVhsv(75, 84%, 48%)
CMYKcmyk(20.3%, 0%, 83.7%, 51.8%)
CIE-LABlab(48.02, -23.43, 48.27)
CIE-LCHlch(48.02, 53.66, 115.89°)
OKLaboklab(54.4% -0.0689 0.1054)
OKLCHoklch(54.4% 0.126 123.2)
XYZxyz(12.2464, 16.8130, 3.2617)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B14 #2D147B
analogous
#7B6014 #627B14 #2E7B14
triadic
#627B14 #14627B #7B1462
tetradic
#627B14 #147B60 #2D147B #7B142E
square
#627B14 #147B60 #2D147B #7B142E
split-complementary
#627B14 #142E7B #60147B
monochromatic
#151A04 #38460B #627B14 #8CB01D #B2DD2D

Accessibility & contrast

On white

4.81
#627B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#627B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B14
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B14#FFFFFF#000000##FFFFFF
##627B141.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#677468
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b14;
/* rgb */ color: rgb(98, 123, 20);
/* oklch */ color: oklch(54.4% 0.126 123.2);
Tailwind
colors: {
  custom: {
    50: '#92a15d',
    500: '#627b14',
    950: '#000000',
  },
}
SCSS
$custom: #627b14;
$custom-light: #92a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#627b14",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 74.563,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.12591,
    "h": 123.2
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#627B14
secondary
#573AB1
accent
#39EF65
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B14

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

Preview Lab → · Contrast checker → · Palette generator →

#627B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva