#C5AE3F#C5AE3F

#C5AE3F is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.131 H 97.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C5AE3F
RGBrgb(197, 174, 63)
HSLhsl(50, 54%, 51%)
HSVhsv(50, 68%, 77%)
CMYKcmyk(0%, 11.7%, 68%, 22.7%)
CIE-LABlab(71.22, -4.19, 57.66)
CIE-LCHlch(71.22, 57.81, 94.16°)
OKLaboklab(75.05% -0.0167 0.1295)
OKLCHoklch(75.05% 0.131 97.4)
XYZxyz(39.0610, 42.5032, 10.8481)
Luminance0.4250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE3F #3F56C5
analogous
#C56B3F #C5AE3F #99C53F
triadic
#C5AE3F #3FC5AE #AE3FC5
tetradic
#C5AE3F #3FC56B #3F56C5 #C53F99
square
#C5AE3F #3FC56B #3F56C5 #C53F99
split-complementary
#C5AE3F #3F99C5 #6B3FC5
monochromatic
#6A5D20 #99862E #C5AE3F #D3C26E #E1D69D

Accessibility & contrast

On white

2.21
#C5AE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#C5AE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE3F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE3F#FFFFFF#000000##000000
##C5AE3F1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D4A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae3f;
/* rgb */ color: rgb(197, 174, 63);
/* oklch */ color: oklch(75.0% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#dac57a',
    500: '#c5ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae3f;
$custom-light: #dac57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae3f",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 49.701,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.13062,
    "h": 97.4
  },
  "luminance": 0.42501
}

Semantic roles & 50–950 ramp

primary
#C5AE3F
secondary
#929CCE
accent
#64DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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