#C5B33F#C5B33F

#C5B33F is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.135 H 100.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C5B33F
RGBrgb(197, 179, 63)
HSLhsl(52, 54%, 51%)
HSVhsv(52, 68%, 77%)
CMYKcmyk(0%, 9.1%, 68%, 22.7%)
CIE-LABlab(72.54, -6.81, 59.02)
CIE-LCHlch(72.54, 59.41, 96.59°)
OKLaboklab(76.1% -0.0242 0.1324)
OKLCHoklch(76.1% 0.135 100.4)
XYZxyz(40.0450, 44.4712, 11.1761)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B33F #3F51C5
analogous
#C5703F #C5B33F #94C53F
triadic
#C5B33F #3FC5B3 #B33FC5
tetradic
#C5B33F #3FC570 #3F51C5 #C53F94
square
#C5B33F #3FC570 #3F51C5 #C53F94
split-complementary
#C5B33F #3F94C5 #703FC5
monochromatic
#6A6020 #998A2E #C5B33F #D3C66E #E1D89D

Accessibility & contrast

On white

2.12
#C5B33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C5B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B33F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B33F#FFFFFF#000000##000000
##C5B33F1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#D4A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b33f;
/* rgb */ color: rgb(197, 179, 63);
/* oklch */ color: oklch(76.1% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#dac97a',
    500: '#c5b33f',
    950: '#000000',
  },
}
SCSS
$custom: #c5b33f;
$custom-light: #dac97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b33f",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 51.94,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.13461,
    "h": 100.4
  },
  "luminance": 0.44469
}

Semantic roles & 50–950 ramp

primary
#C5B33F
secondary
#929ACE
accent
#5EDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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