#638B1C#638B1C

#638B1C is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.142 H 128.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#638B1C
RGBrgb(99, 139, 28)
HSLhsl(82, 66%, 33%)
HSVhsv(82, 80%, 55%)
CMYKcmyk(28.8%, 0%, 79.9%, 45.5%)
CIE-LABlab(53.17, -30.44, 50.51)
CIE-LCHlch(53.17, 58.97, 121.08°)
OKLaboklab(58.6% -0.0875 0.1115)
OKLCHoklch(58.6% 0.142 128.1)
XYZxyz(14.5878, 21.2014, 4.4221)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B1C #441C8B
analogous
#8B7C1C #638B1C #2B8B1C
triadic
#638B1C #1C638B #8B1C63
tetradic
#638B1C #1C8B7C #441C8B #8B1C2B
square
#638B1C #1C8B7C #441C8B #8B1C2B
split-complementary
#638B1C #1C2B8B #7C1C8B
monochromatic
#1A2507 #3F5812 #638B1C #87BE26 #A5DA47

Accessibility & contrast

On white

4.01
#638B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#638B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638B1C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638B1C#FFFFFF#000000##000000
##638B1C1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#678476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b1c;
/* rgb */ color: rgb(99, 139, 28);
/* oklch */ color: oklch(58.6% 0.142 128.1);
Tailwind
colors: {
  custom: {
    50: '#93ad62',
    500: '#638b1c',
    950: '#000000',
  },
}
SCSS
$custom: #638b1c;
$custom-light: #93ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#638b1c",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 81.622,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.14168,
    "h": 128.1
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#638B1C
secondary
#7147BC
accent
#3EE97C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638B1C

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

Preview Lab → · Contrast checker → · Palette generator →

#638B1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva