#9FA438#9FA438

#9FA438 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.130 H 111.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9FA438
RGBrgb(159, 164, 56)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 66%, 64%)
CMYKcmyk(3%, 0%, 65.9%, 35.7%)
CIE-LABlab(65.13, -15.86, 53.23)
CIE-LCHlch(65.13, 55.54, 106.59°)
OKLaboklab(69.39% -0.0483 0.1202)
OKLCHoklch(69.39% 0.13 111.9)
XYZxyz(28.2882, 34.2080, 8.8533)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA438 #3D38A4
analogous
#A47338 #9FA438 #69A438
triadic
#9FA438 #389FA4 #A4389F
tetradic
#9FA438 #38A473 #3D38A4 #A43869
square
#9FA438 #38A473 #3D38A4 #A43869
split-complementary
#9FA438 #3869A4 #7338A4
monochromatic
#474919 #737628 #9FA438 #C0C554 #D1D482

Accessibility & contrast

On white

2.68
#9FA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9FA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA438
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA438#FFFFFF#000000##000000
##9FA4381.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#B19F3F
Tritanopia (blue-blind)
#AA9A8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa438;
/* rgb */ color: rgb(159, 164, 56);
/* oklch */ color: oklch(69.4% 0.130 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe74',
    500: '#9fa438',
    950: '#000000',
  },
}
SCSS
$custom: #9fa438;
$custom-light: #bebe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa438",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 62.778,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69391,
    "c": 0.12952,
    "h": 111.9
  },
  "luminance": 0.34207
}

Semantic roles & 50–950 ramp

primary
#9FA438
secondary
#7D7ABE
accent
#4FD956
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA438

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

Preview Lab → · Contrast checker → · Palette generator →

#9FA438 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva