#627016#627016

#627016 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.111 H 118.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#627016
RGBrgb(98, 112, 22)
HSLhsl(69, 67%, 26%)
HSVhsv(69, 80%, 44%)
CMYKcmyk(12.5%, 0%, 80.4%, 56.1%)
CIE-LABlab(44.58, -17.63, 44.52)
CIE-LCHlch(44.58, 47.88, 111.61°)
OKLaboklab(51.62% -0.0529 0.0978)
OKLCHoklch(51.62% 0.111 118.4)
XYZxyz(10.9762, 14.2430, 2.9298)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627016 #241670
analogous
#705116 #627016 #357016
triadic
#627016 #166270 #701662
tetradic
#627016 #167051 #241670 #701635
square
#627016 #167051 #241670 #701635
split-complementary
#627016 #163570 #511670
monochromatic
#161A05 #353D0C #627016 #8FA320 #BBD52B

Accessibility & contrast

On white

5.46
#627016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #627016
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627016#FFFFFF#000000##FFFFFF
##6270161.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627016;
/* rgb */ color: rgb(98, 112, 22);
/* oklch */ color: oklch(51.6% 0.111 118.4);
Tailwind
colors: {
  custom: {
    50: '#92995c',
    500: '#627016',
    950: '#000000',
  },
}
SCSS
$custom: #627016;
$custom-light: #92995c;
$custom-dark: #000000;
JSON
{
  "hex": "#627016",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 69.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.11116,
    "h": 118.4
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#627016
secondary
#4C3CA6
accent
#3EEA59
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #627016

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

Preview Lab → · Contrast checker → · Palette generator →

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