#BEA22F#BEA22F

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

Color values

HEX#BEA22F
RGBrgb(190, 162, 47)
HSLhsl(48, 60%, 46%)
HSVhsv(48, 75%, 75%)
CMYKcmyk(0%, 14.7%, 75.3%, 25.5%)
CIE-LABlab(67.27, -1.68, 59.80)
CIE-LCHlch(67.27, 59.82, 91.61°)
OKLaboklab(71.74% -0.0109 0.1314)
OKLCHoklch(71.74% 0.132 94.8)
XYZxyz(34.6705, 36.9950, 8.0034)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEA22F #2F4BBE
analogous
#BE5B2F #BEA22F #93BE2F
triadic
#BEA22F #2FBEA2 #A22FBE
tetradic
#BEA22F #2FBE5B #2F4BBE #BE2F93
square
#BEA22F #2FBE5B #2F4BBE #BE2F93
split-complementary
#BEA22F #2F93BE #5B2FBE
monochromatic
#5C4E17 #8D7823 #BEA22F #D5BC55 #E1CF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BEA22F#FFFFFF#000000##000000
##BEA22F1.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)
#B39F1A
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#CD958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bea22f;
/* rgb */ color: rgb(190, 162, 47);
/* oklch */ color: oklch(71.7% 0.132 94.8);
Tailwind
colors: {
  custom: {
    50: '#d6bd70',
    500: '#bea22f',
    950: '#000000',
  },
}
SCSS
$custom: #bea22f;
$custom-light: #d6bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#bea22f",
  "rgb": {
    "r": 190,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 48.252,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.13184,
    "h": 94.8
  },
  "luminance": 0.36993
}

Semantic roles & 50–950 ramp

primary
#BEA22F
secondary
#7E8DCB
accent
#63E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BEA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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