#627112#627112

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

Color values

HEX#627112
RGBrgb(98, 113, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 44%)
CMYKcmyk(13.3%, 0%, 84.1%, 55.7%)
CIE-LABlab(44.87, -18.34, 46.07)
CIE-LCHlch(44.87, 49.58, 111.71°)
OKLaboklab(51.85% -0.0552 0.1003)
OKLCHoklch(51.85% 0.114 118.8)
XYZxyz(11.0516, 14.4507, 2.7792)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627112 #211271
analogous
#715012 #627112 #327112
triadic
#627112 #126271 #711262
tetradic
#627112 #127150 #211271 #711232
square
#627112 #127150 #211271 #711232
split-complementary
#627112 #123271 #501271
monochromatic
#171A04 #343C0A #627112 #90A61A #BEDB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627112#FFFFFF#000000##FFFFFF
##6271121.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)
#776A1C
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627112;
/* rgb */ color: rgb(98, 113, 18);
/* oklch */ color: oklch(51.9% 0.114 118.8);
Tailwind
colors: {
  custom: {
    50: '#92995a',
    500: '#627112',
    950: '#000000',
  },
}
SCSS
$custom: #627112;
$custom-light: #92995a;
$custom-dark: #000000;
JSON
{
  "hex": "#627112",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 69.474,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.11449,
    "h": 118.8
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#627112
secondary
#4937A8
accent
#39EF55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627112

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

Preview Lab → · Contrast checker → · Palette generator →

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