#BEB238#BEB238

#BEB238 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.139 H 103.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#BEB238
RGBrgb(190, 178, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 71%, 75%)
CMYKcmyk(0%, 6.3%, 70.5%, 25.5%)
CIE-LABlab(71.61, -9.69, 60.63)
CIE-LCHlch(71.61, 61.40, 99.08°)
OKLaboklab(75.19% -0.0327 0.1348)
OKLCHoklch(75.19% 0.139 103.6)
XYZxyz(37.8710, 43.0750, 10.0601)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB238 #3844BE
analogous
#BE6F38 #BEB238 #87BE38
triadic
#BEB238 #38BEB2 #B238BE
tetradic
#BEB238 #38BE6F #3844BE #BE3887
square
#BEB238 #38BE6F #3844BE #BE3887
split-complementary
#BEB238 #3887BE #6F38BE
monochromatic
#5F591C #8F862A #BEB238 #D1C762 #DFD892

Accessibility & contrast

On white

2.18
#BEB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#BEB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB238
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB238#FFFFFF#000000##000000
##BEB2381.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#CCA69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #beb238;
/* rgb */ color: rgb(190, 178, 56);
/* oklch */ color: oklch(75.2% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#d5c876',
    500: '#beb238',
    950: '#000000',
  },
}
SCSS
$custom: #beb238;
$custom-light: #d5c876;
$custom-dark: #000000;
JSON
{
  "hex": "#beb238",
  "rgb": {
    "r": 190,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 54.627,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75191,
    "c": 0.13875,
    "h": 103.6
  },
  "luminance": 0.43073
}

Semantic roles & 50–950 ramp

primary
#BEB238
secondary
#888ECA
accent
#57DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB238

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

Preview Lab → · Contrast checker → · Palette generator →

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