#B5C162#B5C162

#B5C162 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.1% C 0.121 H 115.2°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#B5C162
RGBrgb(181, 193, 98)
HSLhsl(68, 43%, 57%)
HSVhsv(68, 49%, 76%)
CMYKcmyk(6.2%, 0%, 49.2%, 24.3%)
CIE-LABlab(75.36, -18.05, 46.03)
CIE-LCHlch(75.36, 49.44, 111.41°)
OKLaboklab(78.13% -0.0514 0.1093)
OKLCHoklch(78.13% 0.121 115.2)
XYZxyz(40.3312, 48.8460, 18.8565)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C162 #6E62C1
analogous
#C19E62 #B5C162 #86C162
triadic
#B5C162 #62B5C1 #C162B5
tetradic
#B5C162 #62C19E #6E62C1 #C16286
square
#B5C162 #62C19E #6E62C1 #C16286
split-complementary
#B5C162 #6286C1 #9E62C1
monochromatic
#707930 #98A541 #B5C162 #CAD28E #DEE4BA

Accessibility & contrast

On white

1.95
#B5C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#B5C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C162
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C162#FFFFFF#000000##000000
##B5C1621.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB959
Deuteranopia (green-blind)
#CCBA67
Tritanopia (blue-blind)
#BEB8AB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c162;
/* rgb */ color: rgb(181, 193, 98);
/* oklch */ color: oklch(78.1% 0.121 115.2);
Tailwind
colors: {
  custom: {
    50: '#cdd391',
    500: '#b5c162',
    950: '#000000',
  },
}
SCSS
$custom: #b5c162;
$custom-light: #cdd391;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c162",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 67.579,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78127,
    "c": 0.12079,
    "h": 115.2
  },
  "luminance": 0.48846
}

Semantic roles & 50–950 ramp

primary
#B5C162
secondary
#B1ACD3
accent
#55D365
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#14140D
muted
#82827E

Preview Lab

Preview with #B5C162

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

Preview Lab → · Contrast checker → · Palette generator →

#B5C162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva