#627018#627018

#627018 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.6% C 0.110 H 118.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#627018
RGBrgb(98, 112, 24)
HSLhsl(70, 65%, 27%)
HSVhsv(70, 79%, 44%)
CMYKcmyk(12.5%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.59, -17.53, 43.82)
CIE-LCHlch(44.59, 47.20, 111.81°)
OKLaboklab(51.63% -0.0525 0.0967)
OKLCHoklch(51.63% 0.11 118.5)
XYZxyz(10.9963, 14.2511, 3.0354)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627018 #261870
analogous
#705218 #627018 #367018
triadic
#627018 #186270 #701862
tetradic
#627018 #187052 #261870 #701836
square
#627018 #187052 #261870 #701836
split-complementary
#627018 #183670 #521870
monochromatic
#161905 #363E0D #627018 #8EA223 #B9D330

Accessibility & contrast

On white

5.45
#627018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#627018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627018
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627018#FFFFFF#000000##FFFFFF
##6270181.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786904
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #627018;
/* rgb */ color: rgb(98, 112, 24);
/* oklch */ color: oklch(51.6% 0.110 118.5);
Tailwind
colors: {
  custom: {
    50: '#91995d',
    500: '#627018',
    950: '#000000',
  },
}
SCSS
$custom: #627018;
$custom-light: #91995d;
$custom-dark: #000000;
JSON
{
  "hex": "#627018",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 69.545,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51634,
    "c": 0.10999,
    "h": 118.5
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#627018
secondary
#4F3EA5
accent
#40E85B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #627018

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

Preview Lab → · Contrast checker → · Palette generator →

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