#C5D233#C5D233

#C5D233 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.7% C 0.172 H 114.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C5D233
RGBrgb(197, 210, 51)
HSLhsl(65, 64%, 51%)
HSVhsv(65, 76%, 82%)
CMYKcmyk(6.2%, 0%, 75.7%, 17.6%)
CIE-LABlab(80.85, -23.00, 71.34)
CIE-LCHlch(80.85, 74.96, 107.87°)
OKLaboklab(82.71% -0.0707 0.1564)
OKLCHoklch(82.71% 0.172 114.3)
XYZxyz(46.6715, 58.2034, 11.9071)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D233 #4033D2
analogous
#D28F33 #C5D233 #75D233
triadic
#C5D233 #33C5D2 #D233C5
tetradic
#C5D233 #33D28F #4033D2 #D23375
square
#C5D233 #33D28F #4033D2 #D23375
split-complementary
#C5D233 #3375D2 #8F33D2
monochromatic
#6A7219 #99A424 #C5D233 #D3DD65 #E2E897

Accessibility & contrast

On white

1.66
#C5D233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#C5D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D233
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D233#FFFFFF#000000##000000
##C5D2331.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C705
Deuteranopia (green-blind)
#E1CA41
Tritanopia (blue-blind)
#D2C5B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d233;
/* rgb */ color: rgb(197, 210, 51);
/* oklch */ color: oklch(82.7% 0.172 114.3);
Tailwind
colors: {
  custom: {
    50: '#dadf77',
    500: '#c5d233',
    950: '#000000',
  },
}
SCSS
$custom: #c5d233;
$custom-light: #dadf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d233",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 64.906,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82705,
    "c": 0.17166,
    "h": 114.3
  },
  "luminance": 0.58203
}

Semantic roles & 50–950 ramp

primary
#C5D233
secondary
#352F7A
accent
#41E74E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D233

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

Preview Lab → · Contrast checker → · Palette generator →

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