#9FA23F#9FA23F

#9FA23F is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.122 H 110.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9FA23F
RGBrgb(159, 162, 63)
HSLhsl(62, 44%, 44%)
HSVhsv(62, 61%, 64%)
CMYKcmyk(1.9%, 0%, 61.1%, 36.5%)
CIE-LABlab(64.62, -14.35, 49.68)
CIE-LCHlch(64.62, 51.71, 106.11°)
OKLaboklab(69.01% -0.0433 0.1137)
OKLCHoklch(69.01% 0.122 110.8)
XYZxyz(28.1164, 33.5711, 9.7004)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA23F #423FA2
analogous
#A2743F #9FA23F #6EA23F
triadic
#9FA23F #3F9FA2 #A23F9F
tetradic
#9FA23F #3FA274 #423FA2 #A23F6E
square
#9FA23F #3FA274 #423FA2 #A23F6E
split-complementary
#9FA23F #3F6EA2 #743FA2
monochromatic
#494A1D #74762E #9FA23F #BDC05E #CFD18A

Accessibility & contrast

On white

2.72
#9FA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9FA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA23F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA23F#FFFFFF#000000##000000
##9FA23F1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B33
Deuteranopia (green-blind)
#AF9E45
Tritanopia (blue-blind)
#A9998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa23f;
/* rgb */ color: rgb(159, 162, 63);
/* oklch */ color: oklch(69.0% 0.122 110.8);
Tailwind
colors: {
  custom: {
    50: '#bebd78',
    500: '#9fa23f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa23f;
$custom-light: #bebd78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa23f",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 61.818,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69005,
    "c": 0.12167,
    "h": 110.8
  },
  "luminance": 0.3357
}

Semantic roles & 50–950 ramp

primary
#9FA23F
secondary
#8281BC
accent
#54D458
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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