#C5B830#C5B830

#C5B830 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.1% C 0.148 H 103.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C5B830
RGBrgb(197, 184, 48)
HSLhsl(55, 61%, 48%)
HSVhsv(55, 76%, 77%)
CMYKcmyk(0%, 6.6%, 75.6%, 22.7%)
CIE-LABlab(73.78, -10.12, 65.78)
CIE-LCHlch(73.78, 66.55, 98.75°)
OKLaboklab(77.05% -0.0351 0.144)
OKLCHoklch(77.05% 0.148 103.7)
XYZxyz(40.7018, 46.3664, 9.6014)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B830 #303DC5
analogous
#C56D30 #C5B830 #87C530
triadic
#C5B830 #30C5B8 #B830C5
tetradic
#C5B830 #30C56D #303DC5 #C53087
square
#C5B830 #30C56D #303DC5 #C53087
split-complementary
#C5B830 #3087C5 #6D30C5
monochromatic
#635C18 #948A24 #C5B830 #D7CC5B #E3DB8C

Accessibility & contrast

On white

2.04
#C5B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C5B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B830
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B830#FFFFFF#000000##000000
##C5B8301.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B212
Deuteranopia (green-blind)
#CDB83A
Tritanopia (blue-blind)
#D4AB9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b830;
/* rgb */ color: rgb(197, 184, 48);
/* oklch */ color: oklch(77.1% 0.148 103.7);
Tailwind
colors: {
  custom: {
    50: '#dbcc73',
    500: '#c5b830',
    950: '#000000',
  },
}
SCSS
$custom: #c5b830;
$custom-light: #dbcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b830",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 54.765,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77053,
    "c": 0.14823,
    "h": 103.7
  },
  "luminance": 0.46365
}

Semantic roles & 50–950 ramp

primary
#C5B830
secondary
#848ACD
accent
#52E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B830

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

Preview Lab → · Contrast checker → · Palette generator →

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