#637F12#637F12

#637F12 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.131 H 124.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#637F12
RGBrgb(99, 127, 18)
HSLhsl(75, 75%, 28%)
HSVhsv(75, 86%, 50%)
CMYKcmyk(22%, 0%, 85.8%, 50.2%)
CIE-LABlab(49.34, -25.07, 50.02)
CIE-LCHlch(49.34, 55.95, 116.62°)
OKLaboklab(55.48% -0.0736 0.1087)
OKLCHoklch(55.48% 0.131 124.1)
XYZxyz(12.8443, 17.8749, 3.3457)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#637F12 #2E127F
analogous
#7F6412 #637F12 #2C7F12
triadic
#637F12 #12637F #7F1263
tetradic
#637F12 #127F64 #2E127F #7F122C
square
#637F12 #127F64 #2E127F #7F122C
split-complementary
#637F12 #122C7F #64127F
monochromatic
#151B04 #39490A #637F12 #8DB51A #B2E12B

Accessibility & contrast

On white

4.59
#637F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#637F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #637F12
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##637F12#FFFFFF#000000##FFFFFF
##637F121.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#68786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #637f12;
/* rgb */ color: rgb(99, 127, 18);
/* oklch */ color: oklch(55.5% 0.131 124.1);
Tailwind
colors: {
  custom: {
    50: '#93a45c',
    500: '#637f12',
    950: '#000000',
  },
}
SCSS
$custom: #637f12;
$custom-light: #93a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#637f12",
  "rgb": {
    "r": 99,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 75.413,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.13129,
    "h": 124.1
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#637F12
secondary
#5838B5
accent
#36F266
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #637F12

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

Preview Lab → · Contrast checker → · Palette generator →

#637F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva