#B4C262#B4C262

#B4C262 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.122 H 116.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B4C262
RGBrgb(180, 194, 98)
HSLhsl(69, 44%, 57%)
HSVhsv(69, 49%, 76%)
CMYKcmyk(7.2%, 0%, 49.5%, 23.9%)
CIE-LABlab(75.56, -18.95, 46.25)
CIE-LCHlch(75.56, 49.98, 112.28°)
OKLaboklab(78.27% -0.0539 0.1098)
OKLCHoklch(78.27% 0.122 116.2)
XYZxyz(40.3193, 49.1692, 18.9195)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C262 #7062C2
analogous
#C2A062 #B4C262 #84C262
triadic
#B4C262 #62B4C2 #C262B4
tetradic
#B4C262 #62C2A0 #7062C2 #C26284
square
#B4C262 #62C2A0 #7062C2 #C26284
split-complementary
#B4C262 #6284C2 #A062C2
monochromatic
#6F7A2F #97A641 #B4C262 #C9D38E #DEE4BA

Accessibility & contrast

On white

1.94
#B4C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B4C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C262
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C262#FFFFFF#000000##000000
##B4C2621.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBA59
Deuteranopia (green-blind)
#CCBB67
Tritanopia (blue-blind)
#BDB9AC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c262;
/* rgb */ color: rgb(180, 194, 98);
/* oklch */ color: oklch(78.3% 0.122 116.2);
Tailwind
colors: {
  custom: {
    50: '#ccd491',
    500: '#b4c262',
    950: '#000000',
  },
}
SCSS
$custom: #b4c262;
$custom-light: #ccd491;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c262",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 68.75,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78269,
    "c": 0.12232,
    "h": 116.2
  },
  "luminance": 0.49169
}

Semantic roles & 50–950 ramp

primary
#B4C262
secondary
#B2ACD3
accent
#54D467
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#14140D
muted
#82827E

Preview Lab

Preview with #B4C262

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

Preview Lab → · Contrast checker → · Palette generator →

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