#627012#627012

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

Color values

HEX#627012
RGBrgb(98, 112, 18)
HSLhsl(69, 72%, 25%)
HSVhsv(69, 84%, 44%)
CMYKcmyk(12.5%, 0%, 83.9%, 56.1%)
CIE-LABlab(44.56, -17.81, 45.79)
CIE-LCHlch(44.56, 49.13, 111.25°)
OKLaboklab(51.6% -0.0537 0.0997)
OKLCHoklch(51.6% 0.113 118.3)
XYZxyz(10.9406, 14.2288, 2.7422)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627012 #201270
analogous
#704F12 #627012 #337012
triadic
#627012 #126270 #701262
tetradic
#627012 #12704F #201270 #701233
square
#627012 #12704F #201270 #701233
split-complementary
#627012 #123370 #4F1270
monochromatic
#171A04 #343B0A #627012 #90A51A #BED923

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627012#FFFFFF#000000##FFFFFF
##6270121.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)
#786900
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #627012;
/* rgb */ color: rgb(98, 112, 18);
/* oklch */ color: oklch(51.6% 0.113 118.3);
Tailwind
colors: {
  custom: {
    50: '#92995a',
    500: '#627012',
    950: '#000000',
  },
}
SCSS
$custom: #627012;
$custom-light: #92995a;
$custom-dark: #000000;
JSON
{
  "hex": "#627012",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 68.936,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.11327,
    "h": 118.3
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#627012
secondary
#4737A7
accent
#39EF54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #627012

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

Preview Lab → · Contrast checker → · Palette generator →

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