#9FA235#9FA235

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

Color values

HEX#9FA235
RGBrgb(159, 162, 53)
HSLhsl(62, 51%, 42%)
HSVhsv(62, 67%, 64%)
CMYKcmyk(1.9%, 0%, 67.3%, 36.5%)
CIE-LABlab(64.54, -15.01, 53.86)
CIE-LCHlch(64.54, 55.91, 105.57°)
OKLaboklab(68.91% -0.0462 0.121)
OKLCHoklch(68.91% 0.13 110.9)
XYZxyz(27.8619, 33.4693, 8.3600)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA235 #3835A2
analogous
#A26E35 #9FA235 #69A235
triadic
#9FA235 #359FA2 #A2359F
tetradic
#9FA235 #35A26E #3835A2 #A23569
square
#9FA235 #35A26E #3835A2 #A23569
split-complementary
#9FA235 #3569A2 #6E35A2
monochromatic
#444617 #727426 #9FA235 #C2C54F #D2D47D

Accessibility & contrast

On white

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

On black

7.69
#9FA235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA235
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA235#FFFFFF#000000##000000
##9FA2351.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa235;
/* rgb */ color: rgb(159, 162, 53);
/* oklch */ color: oklch(68.9% 0.130 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd73',
    500: '#9fa235',
    950: '#000000',
  },
}
SCSS
$custom: #9fa235;
$custom-light: #bebd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa235",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 61.651,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68914,
    "c": 0.12954,
    "h": 110.9
  },
  "luminance": 0.33469
}

Semantic roles & 50–950 ramp

primary
#9FA235
secondary
#7775BD
accent
#4EDA51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA235

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

Preview Lab → · Contrast checker → · Palette generator →

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