#BEA231#BEA231

#BEA231 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.8% C 0.131 H 94.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#BEA231
RGBrgb(190, 162, 49)
HSLhsl(48, 59%, 47%)
HSVhsv(48, 74%, 75%)
CMYKcmyk(0%, 14.7%, 74.2%, 25.5%)
CIE-LABlab(67.29, -1.59, 59.07)
CIE-LCHlch(67.29, 59.09, 91.55°)
OKLaboklab(71.75% -0.0105 0.1302)
OKLCHoklch(71.75% 0.131 94.6)
XYZxyz(34.7118, 37.0115, 8.2207)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEA231 #314DBE
analogous
#BE5C31 #BEA231 #94BE31
triadic
#BEA231 #31BEA2 #A231BE
tetradic
#BEA231 #31BE5C #314DBE #BE3194
square
#BEA231 #31BE5C #314DBE #BE3194
split-complementary
#BEA231 #3194BE #5C31BE
monochromatic
#5D4F18 #8D7924 #BEA231 #D4BB58 #E1CF89

Accessibility & contrast

On white

2.50
#BEA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#BEA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEA231
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEA231#FFFFFF#000000##000000
##BEA2311.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#CD958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bea231;
/* rgb */ color: rgb(190, 162, 49);
/* oklch */ color: oklch(71.8% 0.131 94.6);
Tailwind
colors: {
  custom: {
    50: '#d6bd71',
    500: '#bea231',
    950: '#000000',
  },
}
SCSS
$custom: #bea231;
$custom-light: #d6bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bea231",
  "rgb": {
    "r": 190,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 48.085,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7175,
    "c": 0.13065,
    "h": 94.6
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

primary
#BEA231
secondary
#808FCA
accent
#65E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BEA231

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

Preview Lab → · Contrast checker → · Palette generator →

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