#627115#627115

#627115 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 51.9% C 0.113 H 118.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#627115
RGBrgb(98, 113, 21)
HSLhsl(70, 69%, 26%)
HSVhsv(70, 81%, 44%)
CMYKcmyk(13.3%, 0%, 81.4%, 55.7%)
CIE-LABlab(44.89, -18.21, 45.13)
CIE-LCHlch(44.89, 48.67, 111.97°)
OKLaboklab(51.87% -0.0546 0.0989)
OKLCHoklch(51.87% 0.113 118.9)
XYZxyz(11.0777, 14.4612, 2.9170)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627115 #241571
analogous
#715215 #627115 #347115
triadic
#627115 #156271 #711562
tetradic
#627115 #157152 #241571 #711534
square
#627115 #157152 #241571 #711534
split-complementary
#627115 #153471 #521571
monochromatic
#161A05 #353D0B #627115 #8FA51F #BBD729

Accessibility & contrast

On white

5.40
#627115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#627115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627115
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627115#FFFFFF#000000##FFFFFF
##6271151.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#776B1E
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627115;
/* rgb */ color: rgb(98, 113, 21);
/* oklch */ color: oklch(51.9% 0.113 118.9);
Tailwind
colors: {
  custom: {
    50: '#92995b',
    500: '#627115',
    950: '#000000',
  },
}
SCSS
$custom: #627115;
$custom-light: #92995b;
$custom-dark: #000000;
JSON
{
  "hex": "#627115",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 69.783,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.11295,
    "h": 118.9
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#627115
secondary
#4C3BA7
accent
#3CEB59
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627115

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

Preview Lab → · Contrast checker → · Palette generator →

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