#9DAF23#9DAF23

#9DAF23 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.155 H 117.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#9DAF23
RGBrgb(157, 175, 35)
HSLhsl(68, 67%, 41%)
HSVhsv(68, 80%, 69%)
CMYKcmyk(10.3%, 0%, 80%, 31.4%)
CIE-LABlab(67.98, -23.32, 63.33)
CIE-LCHlch(67.98, 67.49, 110.21°)
OKLaboklab(71.6% -0.0708 0.138)
OKLCHoklch(71.6% 0.155 117.2)
XYZxyz(29.5387, 37.9498, 7.3587)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF23 #3523AF
analogous
#AF7B23 #9DAF23 #57AF23
triadic
#9DAF23 #239DAF #AF239D
tetradic
#9DAF23 #23AF7B #3523AF #AF2357
square
#9DAF23 #23AF7B #3523AF #AF2357
split-complementary
#9DAF23 #2357AF #7B23AF
monochromatic
#41490F #6F7C19 #9DAF23 #C3D738 #D2E16B

Accessibility & contrast

On white

2.44
#9DAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#9DAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF23
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF23#FFFFFF#000000##000000
##9DAF231.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA631
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf23;
/* rgb */ color: rgb(157, 175, 35);
/* oklch */ color: oklch(71.6% 0.155 117.2);
Tailwind
colors: {
  custom: {
    50: '#bec66b',
    500: '#9daf23',
    950: '#000000',
  },
}
SCSS
$custom: #9daf23;
$custom-light: #bec66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf23",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 67.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.15509,
    "h": 117.2
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#9DAF23
secondary
#7366C7
accent
#3EEA54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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