#C5CB3F#C5CB3F

#C5CB3F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.157 H 111.8°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#C5CB3F
RGBrgb(197, 203, 63)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3%, 0%, 69%, 20.4%)
CIE-LABlab(79.01, -19.01, 65.52)
CIE-LCHlch(79.01, 68.23, 106.18°)
OKLaboklab(81.25% -0.0586 0.1461)
OKLCHoklch(81.25% 0.157 111.8)
XYZxyz(45.2805, 54.9422, 12.9213)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB3F #453FCB
analogous
#CB8B3F #C5CB3F #7FCB3F
triadic
#C5CB3F #3FC5CB #CB3FC5
tetradic
#C5CB3F #3FCB8B #453FCB #CB3F7F
square
#C5CB3F #3FCB8B #453FCB #CB3F7F
split-complementary
#C5CB3F #3F7FCB #8B3FCB
monochromatic
#6D711F #9CA12C #C5CB3F #D4D86F #E2E59F

Accessibility & contrast

On white

1.75
#C5CB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#C5CB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB3F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB3F#FFFFFF#000000##000000
##C5CB3F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC228
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb3f;
/* rgb */ color: rgb(197, 203, 63);
/* oklch */ color: oklch(81.3% 0.157 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada7d',
    500: '#c5cb3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb3f;
$custom-light: #dada7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb3f",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 62.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8125,
    "c": 0.15745,
    "h": 111.8
  },
  "luminance": 0.54941
}

Semantic roles & 50–950 ramp

primary
#C5CB3F
secondary
#37347A
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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