#C5CB38#C5CB38

#C5CB38 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.162 H 111.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C5CB38
RGBrgb(197, 203, 56)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(3%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.97, -19.36, 67.96)
CIE-LCHlch(78.97, 70.67, 105.90°)
OKLaboklab(81.2% -0.0602 0.1501)
OKLCHoklch(81.2% 0.162 111.9)
XYZxyz(45.0972, 54.8688, 11.9558)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB38 #3E38CB
analogous
#CB8738 #C5CB38 #7BCB38
triadic
#C5CB38 #38C5CB #CB38C5
tetradic
#C5CB38 #38CB87 #3E38CB #CB387B
square
#C5CB38 #38CB87 #3E38CB #CB387B
split-complementary
#C5CB38 #387BCB #8738CB
monochromatic
#696C1C #989D29 #C5CB38 #D3D869 #E1E499

Accessibility & contrast

On white

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

On black

11.97
#C5CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB38
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB38#FFFFFF#000000##000000
##C5CB381.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21B
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#D3BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5cb38;
/* rgb */ color: rgb(197, 203, 56);
/* oklch */ color: oklch(81.2% 0.162 111.9);
Tailwind
colors: {
  custom: {
    50: '#dada79',
    500: '#c5cb38',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb38;
$custom-light: #dada79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb38",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 62.449,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81203,
    "c": 0.16172,
    "h": 111.9
  },
  "luminance": 0.54868
}

Semantic roles & 50–950 ramp

primary
#C5CB38
secondary
#343176
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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