#9EB234#9EB234

#9EB234 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.149 H 118.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9EB234
RGBrgb(158, 178, 52)
HSLhsl(70, 55%, 45%)
HSVhsv(70, 71%, 70%)
CMYKcmyk(11.2%, 0%, 70.8%, 30.2%)
CIE-LABlab(69.01, -23.58, 58.71)
CIE-LCHlch(69.01, 63.27, 111.88°)
OKLaboklab(72.48% -0.0701 0.1311)
OKLCHoklch(72.48% 0.149 118.1)
XYZxyz(30.6414, 39.3581, 9.2308)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB234 #4834B2
analogous
#B28734 #9EB234 #5FB234
triadic
#9EB234 #349EB2 #B2349E
tetradic
#9EB234 #34B287 #4834B2 #B2345F
square
#9EB234 #34B287 #4834B2 #B2345F
split-complementary
#9EB234 #345FB2 #8734B2
monochromatic
#4A5318 #748326 #9EB234 #BBCE56 #CEDB85

Accessibility & contrast

On white

2.37
#9EB234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#9EB234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB234
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB234#FFFFFF#000000##000000
##9EB2341.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81F
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#A7A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb234;
/* rgb */ color: rgb(158, 178, 52);
/* oklch */ color: oklch(72.5% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#bec974',
    500: '#9eb234',
    950: '#000000',
  },
}
SCSS
$custom: #9eb234;
$custom-light: #bec974;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb234",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 69.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72477,
    "c": 0.14868,
    "h": 118.1
  },
  "luminance": 0.39358
}

Semantic roles & 50–950 ramp

primary
#9EB234
secondary
#887DC5
accent
#4ADE61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB234

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

Preview Lab → · Contrast checker → · Palette generator →

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