#9DAF27#9DAF27

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

Color values

HEX#9DAF27
RGBrgb(157, 175, 39)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(10.3%, 0%, 77.7%, 31.4%)
CIE-LABlab(68.00, -23.16, 62.16)
CIE-LCHlch(68.00, 66.34, 110.43°)
OKLaboklab(71.62% -0.07 0.1362)
OKLCHoklch(71.62% 0.153 117.2)
XYZxyz(29.6016, 37.9749, 7.6895)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF27 #3927AF
analogous
#AF7D27 #9DAF27 #59AF27
triadic
#9DAF27 #279DAF #AF279D
tetradic
#9DAF27 #27AF7D #3927AF #AF2759
square
#9DAF27 #27AF7D #3927AF #AF2759
split-complementary
#9DAF27 #2759AF #7D27AF
monochromatic
#434B11 #707D1C #9DAF27 #C0D43F #D1DF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAF27#FFFFFF#000000##000000
##9DAF271.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)
#BAA634
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf27;
/* rgb */ color: rgb(157, 175, 39);
/* oklch */ color: oklch(71.6% 0.153 117.2);
Tailwind
colors: {
  custom: {
    50: '#bec66d',
    500: '#9daf27',
    950: '#000000',
  },
}
SCSS
$custom: #9daf27;
$custom-light: #bec66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf27",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 67.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71624,
    "c": 0.15314,
    "h": 117.2
  },
  "luminance": 0.37975
}

Semantic roles & 50–950 ramp

primary
#9DAF27
secondary
#786BC6
accent
#41E757
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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