#C5BE3F#C5BE3F

#C5BE3F is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.4% C 0.144 H 106.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C5BE3F
RGBrgb(197, 190, 63)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 68%, 77%)
CMYKcmyk(0%, 3.6%, 68%, 22.7%)
CIE-LABlab(75.49, -12.48, 62.01)
CIE-LCHlch(75.49, 63.25, 101.38°)
OKLaboklab(78.44% -0.0403 0.1387)
OKLCHoklch(78.44% 0.144 106.2)
XYZxyz(42.3382, 49.0576, 11.9405)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE3F #3F46C5
analogous
#C57B3F #C5BE3F #89C53F
triadic
#C5BE3F #3FC5BE #BE3FC5
tetradic
#C5BE3F #3FC57B #3F46C5 #C53F89
square
#C5BE3F #3FC57B #3F46C5 #C53F89
split-complementary
#C5BE3F #3F89C5 #7B3FC5
monochromatic
#6A6620 #99932E #C5BE3F #D3CE6E #E1DE9D

Accessibility & contrast

On white

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

On black

10.81
#C5BE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BE3F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BE3F#FFFFFF#000000##000000
##C5BE3F1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5be3f;
/* rgb */ color: rgb(197, 190, 63);
/* oklch */ color: oklch(78.4% 0.144 106.2);
Tailwind
colors: {
  custom: {
    50: '#dad17b',
    500: '#c5be3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5be3f;
$custom-light: #dad17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be3f",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 63
  },
  "hsl": {
    "h": 56.866,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78439,
    "c": 0.14445,
    "h": 106.2
  },
  "luminance": 0.49056
}

Semantic roles & 50–950 ramp

primary
#C5BE3F
secondary
#9295CE
accent
#52DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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