#C5B23F#C5B23F

#C5B23F is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.134 H 99.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#C5B23F
RGBrgb(197, 178, 63)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 9.6%, 68%, 22.7%)
CIE-LABlab(72.28, -6.29, 58.74)
CIE-LCHlch(72.28, 59.08, 96.11°)
OKLaboklab(75.89% -0.0227 0.1318)
OKLCHoklch(75.89% 0.134 99.8)
XYZxyz(39.8453, 44.0718, 11.1096)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B23F #3F52C5
analogous
#C56F3F #C5B23F #95C53F
triadic
#C5B23F #3FC5B2 #B23FC5
tetradic
#C5B23F #3FC56F #3F52C5 #C53F95
square
#C5B23F #3FC56F #3F52C5 #C53F95
split-complementary
#C5B23F #3F95C5 #6F3FC5
monochromatic
#6A5F20 #998A2E #C5B23F #D3C56E #E1D89D

Accessibility & contrast

On white

2.14
#C5B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#C5B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B23F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B23F#FFFFFF#000000##000000
##C5B23F1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#D4A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b23f;
/* rgb */ color: rgb(197, 178, 63);
/* oklch */ color: oklch(75.9% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#dac87a',
    500: '#c5b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c5b23f;
$custom-light: #dac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b23f",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 51.493,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75887,
    "c": 0.13378,
    "h": 99.8
  },
  "luminance": 0.4407
}

Semantic roles & 50–950 ramp

primary
#C5B23F
secondary
#929BCE
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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