#BEB252#BEB252

#BEB252 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.118 H 102.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BEB252
RGBrgb(190, 178, 82)
HSLhsl(53, 45%, 53%)
HSVhsv(53, 57%, 75%)
CMYKcmyk(0%, 6.3%, 56.8%, 25.5%)
CIE-LABlab(71.82, -8.03, 49.71)
CIE-LCHlch(71.82, 50.36, 99.17°)
OKLaboklab(75.44% -0.0251 0.1156)
OKLCHoklch(75.44% 0.118 102.2)
XYZxyz(38.6799, 43.3985, 14.3203)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB252 #525EBE
analogous
#BE7C52 #BEB252 #94BE52
triadic
#BEB252 #52BEB2 #B252BE
tetradic
#BEB252 #52BE7C #525EBE #BE5294
square
#BEB252 #52BE7C #525EBE #BE5294
split-complementary
#BEB252 #5294BE #7C52BE
monochromatic
#6D6529 #998F3A #BEB252 #CFC67E #DFDAAB

Accessibility & contrast

On white

2.17
#BEB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#BEB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB252
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB252#FFFFFF#000000##000000
##BEB2521.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C4B257
Tritanopia (blue-blind)
#CBA79D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #beb252;
/* rgb */ color: rgb(190, 178, 82);
/* oklch */ color: oklch(75.4% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#d4c886',
    500: '#beb252',
    950: '#000000',
  },
}
SCSS
$custom: #beb252;
$custom-light: #d4c886;
$custom-dark: #000000;
JSON
{
  "hex": "#beb252",
  "rgb": {
    "r": 190,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 53.333,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75435,
    "c": 0.11824,
    "h": 102.2
  },
  "luminance": 0.43397
}

Semantic roles & 50–950 ramp

primary
#BEB252
secondary
#9FA4CD
accent
#61D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BEB252

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

Preview Lab → · Contrast checker → · Palette generator →

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