#BEA02F#BEA02F

#BEA02F is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.131 H 93.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BEA02F
RGBrgb(190, 160, 47)
HSLhsl(47, 60%, 46%)
HSVhsv(47, 75%, 75%)
CMYKcmyk(0%, 15.8%, 75.3%, 25.5%)
CIE-LABlab(66.75, -0.61, 59.29)
CIE-LCHlch(66.75, 59.30, 90.59°)
OKLaboklab(71.32% -0.0079 0.1303)
OKLCHoklch(71.32% 0.131 93.5)
XYZxyz(34.3210, 36.2960, 7.8869)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEA02F #2F4DBE
analogous
#BE592F #BEA02F #95BE2F
triadic
#BEA02F #2FBEA0 #A02FBE
tetradic
#BEA02F #2FBE59 #2F4DBE #BE2F95
square
#BEA02F #2FBE59 #2F4DBE #BE2F95
split-complementary
#BEA02F #2F95BE #592FBE
monochromatic
#5C4D17 #8D7723 #BEA02F #D5BA55 #E1CE86

Accessibility & contrast

On white

2.54
#BEA02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#BEA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEA02F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEA02F#FFFFFF#000000##000000
##BEA02F1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CE938A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bea02f;
/* rgb */ color: rgb(190, 160, 47);
/* oklch */ color: oklch(71.3% 0.131 93.5);
Tailwind
colors: {
  custom: {
    50: '#d6bb70',
    500: '#bea02f',
    950: '#000000',
  },
}
SCSS
$custom: #bea02f;
$custom-light: #d6bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bea02f",
  "rgb": {
    "r": 190,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 47.413,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71319,
    "c": 0.13056,
    "h": 93.5
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#BEA02F
secondary
#7E8ECB
accent
#66E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BEA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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