#638B1F#638B1F

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

Color values

HEX#638B1F
RGBrgb(99, 139, 31)
HSLhsl(82, 64%, 33%)
HSVhsv(82, 78%, 55%)
CMYKcmyk(28.8%, 0%, 77.7%, 45.5%)
CIE-LABlab(53.19, -30.28, 49.52)
CIE-LCHlch(53.19, 58.05, 121.44°)
OKLaboklab(58.62% -0.0868 0.1099)
OKLCHoklch(58.62% 0.14 128.3)
XYZxyz(14.6255, 21.2165, 4.6207)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B1F #471F8B
analogous
#8B7D1F #638B1F #2D8B1F
triadic
#638B1F #1F638B #8B1F63
tetradic
#638B1F #1F8B7D #471F8B #8B1F2D
square
#638B1F #1F8B7D #471F8B #8B1F2D
split-complementary
#638B1F #1F2D8B #7D1F8B
monochromatic
#1C2709 #3F5914 #638B1F #87BD2A #A4D74D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638B1F#FFFFFF#000000##000000
##638B1F1.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)
#928105
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#678477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b1f;
/* rgb */ color: rgb(99, 139, 31);
/* oklch */ color: oklch(58.6% 0.140 128.3);
Tailwind
colors: {
  custom: {
    50: '#93ad64',
    500: '#638b1f',
    950: '#000000',
  },
}
SCSS
$custom: #638b1f;
$custom-light: #93ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#638b1f",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 82.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.14003,
    "h": 128.3
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#638B1F
secondary
#754CBA
accent
#41E77E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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