#C5BE42#C5BE42

#C5BE42 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.5% C 0.142 H 106.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C5BE42
RGBrgb(197, 190, 66)
HSLhsl(57, 53%, 52%)
HSVhsv(57, 66%, 77%)
CMYKcmyk(0%, 3.6%, 66.5%, 22.7%)
CIE-LABlab(75.51, -12.32, 60.85)
CIE-LCHlch(75.51, 62.08, 101.44°)
OKLaboklab(78.46% -0.0395 0.1368)
OKLCHoklch(78.46% 0.142 106.1)
XYZxyz(42.4244, 49.0920, 12.3942)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE42 #4249C5
analogous
#C57D42 #C5BE42 #8BC542
triadic
#C5BE42 #42C5BE #BE42C5
tetradic
#C5BE42 #42C57D #4249C5 #C5428B
square
#C5BE42 #42C57D #4249C5 #C5428B
split-complementary
#C5BE42 #428BC5 #7D42C5
monochromatic
#6C6821 #9A952F #C5BE42 #D3CE71 #E2DEA0

Accessibility & contrast

On white

1.94
#C5BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C5BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BE42
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BE42#FFFFFF#000000##000000
##C5BE421.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D1BC4A
Tritanopia (blue-blind)
#D3B2A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be42;
/* rgb */ color: rgb(197, 190, 66);
/* oklch */ color: oklch(78.5% 0.142 106.1);
Tailwind
colors: {
  custom: {
    50: '#dad17d',
    500: '#c5be42',
    950: '#000000',
  },
}
SCSS
$custom: #c5be42;
$custom-light: #dad17d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be42",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 56.794,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.14235,
    "h": 106.1
  },
  "luminance": 0.49091
}

Semantic roles & 50–950 ramp

primary
#C5BE42
secondary
#9598CE
accent
#53DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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