#C5B630#C5B630

#C5B630 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.6% C 0.147 H 102.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#C5B630
RGBrgb(197, 182, 48)
HSLhsl(54, 61%, 48%)
HSVhsv(54, 76%, 77%)
CMYKcmyk(0%, 7.6%, 75.6%, 22.7%)
CIE-LABlab(73.25, -9.09, 65.28)
CIE-LCHlch(73.25, 65.91, 97.93°)
OKLaboklab(76.63% -0.0322 0.143)
OKLCHoklch(76.63% 0.147 102.7)
XYZxyz(40.2893, 45.5414, 9.4639)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B630 #303FC5
analogous
#C56C30 #C5B630 #89C530
triadic
#C5B630 #30C5B6 #B630C5
tetradic
#C5B630 #30C56C #303FC5 #C53089
square
#C5B630 #30C56C #303FC5 #C53089
split-complementary
#C5B630 #3089C5 #6C30C5
monochromatic
#635B18 #948924 #C5B630 #D7CB5B #E3DA8C

Accessibility & contrast

On white

2.08
#C5B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#C5B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B630
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B630#FFFFFF#000000##000000
##C5B6301.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B013
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#D4A99D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c5b630;
/* rgb */ color: rgb(197, 182, 48);
/* oklch */ color: oklch(76.6% 0.147 102.7);
Tailwind
colors: {
  custom: {
    50: '#dbcb73',
    500: '#c5b630',
    950: '#000000',
  },
}
SCSS
$custom: #c5b630;
$custom-light: #dbcb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b630",
  "rgb": {
    "r": 197,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 53.96,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76627,
    "c": 0.14654,
    "h": 102.7
  },
  "luminance": 0.4554
}

Semantic roles & 50–950 ramp

primary
#C5B630
secondary
#848BCD
accent
#54E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B630

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

Preview Lab → · Contrast checker → · Palette generator →

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