#BEB738#BEB738

#BEB738 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.3% C 0.143 H 106.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#BEB738
RGBrgb(190, 183, 56)
HSLhsl(57, 54%, 48%)
HSVhsv(57, 71%, 75%)
CMYKcmyk(0%, 3.7%, 70.5%, 25.5%)
CIE-LABlab(72.96, -12.26, 61.96)
CIE-LCHlch(72.96, 63.16, 101.20°)
OKLaboklab(76.27% -0.04 0.1377)
OKLCHoklch(76.27% 0.143 106.2)
XYZxyz(38.8840, 45.1010, 10.3977)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB738 #383FBE
analogous
#BE7438 #BEB738 #82BE38
triadic
#BEB738 #38BEB7 #B738BE
tetradic
#BEB738 #38BE74 #383FBE #BE3882
square
#BEB738 #38BE74 #383FBE #BE3882
split-complementary
#BEB738 #3882BE #7438BE
monochromatic
#5F5C1C #8F892A #BEB738 #D1CB62 #DFDB92

Accessibility & contrast

On white

2.10
#BEB738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#BEB738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB738
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB738#FFFFFF#000000##000000
##BEB7381.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B023
Deuteranopia (green-blind)
#CAB541
Tritanopia (blue-blind)
#CCAB9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #beb738;
/* rgb */ color: rgb(190, 183, 56);
/* oklch */ color: oklch(76.3% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#d5cc77',
    500: '#beb738',
    950: '#000000',
  },
}
SCSS
$custom: #beb738;
$custom-light: #d5cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#beb738",
  "rgb": {
    "r": 190,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 56.866,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76267,
    "c": 0.14333,
    "h": 106.2
  },
  "luminance": 0.451
}

Semantic roles & 50–950 ramp

primary
#BEB738
secondary
#888BCA
accent
#52DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB738

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

Preview Lab → · Contrast checker → · Palette generator →

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