#BEC45A#BEC45A

#BEC45A is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.4% C 0.130 H 112.0°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#BEC45A
RGBrgb(190, 196, 90)
HSLhsl(63, 47%, 56%)
HSVhsv(63, 54%, 77%)
CMYKcmyk(3.1%, 0%, 54.1%, 23.1%)
CIE-LABlab(76.78, -16.61, 51.66)
CIE-LCHlch(76.78, 54.26, 107.82°)
OKLaboklab(79.41% -0.0486 0.1206)
OKLCHoklch(79.41% 0.13 112)
XYZxyz(42.8215, 51.1660, 17.2911)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC45A #605AC4
analogous
#C4955A #BEC45A #89C45A
triadic
#BEC45A #5ABEC4 #C45ABE
tetradic
#BEC45A #5AC495 #605AC4 #C45A89
square
#BEC45A #5AC495 #605AC4 #C45A89
split-complementary
#BEC45A #5A89C4 #955AC4
monochromatic
#74792B #A0A63B #BEC45A #D0D487 #E2E4B4

Accessibility & contrast

On white

1.87
#BEC45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#BEC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC45A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC45A#FFFFFF#000000##000000
##BEC45A1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4F
Deuteranopia (green-blind)
#D1BF60
Tritanopia (blue-blind)
#C9BAAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bec45a;
/* rgb */ color: rgb(190, 196, 90);
/* oklch */ color: oklch(79.4% 0.130 112.0);
Tailwind
colors: {
  custom: {
    50: '#d4d58c',
    500: '#bec45a',
    950: '#000000',
  },
}
SCSS
$custom: #bec45a;
$custom-light: #d4d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#bec45a",
  "rgb": {
    "r": 190,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 63.396,
    "s": 47.321,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79407,
    "c": 0.13006,
    "h": 112
  },
  "luminance": 0.51165
}

Semantic roles & 50–950 ramp

primary
#BEC45A
secondary
#454181
accent
#51D758
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BEC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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