#9DA231#9DA231

#9DA231 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.133 H 111.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9DA231
RGBrgb(157, 162, 49)
HSLhsl(63, 54%, 41%)
HSVhsv(63, 70%, 64%)
CMYKcmyk(3.1%, 0%, 69.8%, 36.5%)
CIE-LABlab(64.35, -16.11, 55.19)
CIE-LCHlch(64.35, 57.50, 106.27°)
OKLaboklab(68.71% -0.0496 0.1232)
OKLCHoklch(68.71% 0.133 111.9)
XYZxyz(27.3802, 33.2312, 7.8771)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA231 #3631A2
analogous
#A26F31 #9DA231 #65A231
triadic
#9DA231 #319DA2 #A2319D
tetradic
#9DA231 #31A26F #3631A2 #A23165
square
#9DA231 #31A26F #3631A2 #A23165
split-complementary
#9DA231 #3165A2 #6F31A2
monochromatic
#424415 #6F7323 #9DA231 #C2C848 #D2D677

Accessibility & contrast

On white

2.75
#9DA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9DA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA231
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA231#FFFFFF#000000##000000
##9DA2311.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1F
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#A8988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da231;
/* rgb */ color: rgb(157, 162, 49);
/* oklch */ color: oklch(68.7% 0.133 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd70',
    500: '#9da231',
    950: '#000000',
  },
}
SCSS
$custom: #9da231;
$custom-light: #bdbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9da231",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 62.655,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68712,
    "c": 0.13283,
    "h": 111.9
  },
  "luminance": 0.33231
}

Semantic roles & 50–950 ramp

primary
#9DA231
secondary
#7471BE
accent
#4BDD51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA231

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

Preview Lab → · Contrast checker → · Palette generator →

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