#9FA236#9FA236

#9FA236 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.129 H 110.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9FA236
RGBrgb(159, 162, 54)
HSLhsl(62, 50%, 42%)
HSVhsv(62, 67%, 64%)
CMYKcmyk(1.9%, 0%, 66.7%, 36.5%)
CIE-LABlab(64.55, -14.95, 53.46)
CIE-LCHlch(64.55, 55.51, 105.62°)
OKLaboklab(68.92% -0.0459 0.1203)
OKLCHoklch(68.92% 0.129 110.9)
XYZxyz(27.8851, 33.4786, 8.4824)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA236 #3936A2
analogous
#A26F36 #9FA236 #69A236
triadic
#9FA236 #369FA2 #A2369F
tetradic
#9FA236 #36A26F #3936A2 #A23669
square
#9FA236 #36A26F #3936A2 #A23669
split-complementary
#9FA236 #3669A2 #6F36A2
monochromatic
#454617 #727427 #9FA236 #C2C550 #D2D47E

Accessibility & contrast

On white

2.73
#9FA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9FA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA236
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA236#FFFFFF#000000##000000
##9FA2361.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa236;
/* rgb */ color: rgb(159, 162, 54);
/* oklch */ color: oklch(68.9% 0.129 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd73',
    500: '#9fa236',
    950: '#000000',
  },
}
SCSS
$custom: #9fa236;
$custom-light: #bebd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa236",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 61.667,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68922,
    "c": 0.1288,
    "h": 110.9
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

primary
#9FA236
secondary
#7877BD
accent
#4EDA52
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA236

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

Preview Lab → · Contrast checker → · Palette generator →

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