#C5BE4F#C5BE4F

#C5BE4F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.6% C 0.132 H 105.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C5BE4F
RGBrgb(197, 190, 79)
HSLhsl(56, 50%, 54%)
HSVhsv(56, 60%, 77%)
CMYKcmyk(0%, 3.6%, 59.9%, 22.7%)
CIE-LABlab(75.61, -11.49, 55.48)
CIE-LCHlch(75.61, 56.66, 101.71°)
OKLaboklab(78.58% -0.0357 0.1273)
OKLCHoklch(78.58% 0.132 105.7)
XYZxyz(42.8521, 49.2632, 14.6471)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE4F #4F56C5
analogous
#C5834F #C5BE4F #91C54F
triadic
#C5BE4F #4FC5BE #BE4FC5
tetradic
#C5BE4F #4FC583 #4F56C5 #C54F91
square
#C5BE4F #4FC583 #4F56C5 #C54F91
split-complementary
#C5BE4F #4F91C5 #834FC5
monochromatic
#746F26 #A29B35 #C5BE4F #D4CF7D #E3E0AB

Accessibility & contrast

On white

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

On black

10.85
#C5BE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BE4F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BE4F#FFFFFF#000000##000000
##C5BE4F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB843
Deuteranopia (green-blind)
#D0BD55
Tritanopia (blue-blind)
#D2B2A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be4f;
/* rgb */ color: rgb(197, 190, 79);
/* oklch */ color: oklch(78.6% 0.132 105.7);
Tailwind
colors: {
  custom: {
    50: '#d9d185',
    500: '#c5be4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5be4f;
$custom-light: #d9d185;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be4f",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 56.441,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78582,
    "c": 0.13226,
    "h": 105.7
  },
  "luminance": 0.49262
}

Semantic roles & 50–950 ramp

primary
#C5BE4F
secondary
#9FA2D1
accent
#56DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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