#637212#637212

#637212 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.2% C 0.115 H 118.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#637212
RGBrgb(99, 114, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 45%)
CMYKcmyk(13.2%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.26, -18.41, 46.44)
CIE-LCHlch(45.26, 49.96, 111.62°)
OKLaboklab(52.19% -0.0554 0.1011)
OKLCHoklch(52.19% 0.115 118.7)
XYZxyz(11.2723, 14.7310, 2.8217)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#637212 #211272
analogous
#725112 #637212 #337212
triadic
#637212 #126372 #721263
tetradic
#637212 #127251 #211272 #721233
square
#637212 #127251 #211272 #721233
split-complementary
#637212 #123372 #511272
monochromatic
#171A04 #353D0A #637212 #91A71A #BFDC23

Accessibility & contrast

On white

5.32
#637212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#637212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #637212
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##637212#FFFFFF#000000##FFFFFF
##6372121.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#696B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #637212;
/* rgb */ color: rgb(99, 114, 18);
/* oklch */ color: oklch(52.2% 0.115 118.7);
Tailwind
colors: {
  custom: {
    50: '#939a5a',
    500: '#637212',
    950: '#000000',
  },
}
SCSS
$custom: #637212;
$custom-light: #939a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#637212",
  "rgb": {
    "r": 99,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 69.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.11527,
    "h": 118.7
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#637212
secondary
#4937A9
accent
#38EF55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #637212

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

Preview Lab → · Contrast checker → · Palette generator →

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