#C7D233#C7D233

#C7D233 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 82.9% C 0.171 H 113.6°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C7D233
RGBrgb(199, 210, 51)
HSLhsl(64, 64%, 51%)
HSVhsv(64, 76%, 82%)
CMYKcmyk(5.2%, 0%, 75.7%, 17.6%)
CIE-LABlab(81.00, -22.17, 71.54)
CIE-LCHlch(81.00, 74.89, 107.22°)
OKLaboklab(82.86% -0.0685 0.1567)
OKLCHoklch(82.86% 0.171 113.6)
XYZxyz(47.1988, 58.4753, 11.9318)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D233 #3E33D2
analogous
#D28D33 #C7D233 #77D233
triadic
#C7D233 #33C7D2 #D233C7
tetradic
#C7D233 #33D28D #3E33D2 #D23377
square
#C7D233 #33D28D #3E33D2 #D23377
split-complementary
#C7D233 #3377D2 #8D33D2
monochromatic
#6B7219 #9BA424 #C7D233 #D5DD65 #E3E897

Accessibility & contrast

On white

1.65
#C7D233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#C7D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D233
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D233#FFFFFF#000000##000000
##C7D2331.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C805
Deuteranopia (green-blind)
#E2CB41
Tritanopia (blue-blind)
#D4C5B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d233;
/* rgb */ color: rgb(199, 210, 51);
/* oklch */ color: oklch(82.9% 0.171 113.6);
Tailwind
colors: {
  custom: {
    50: '#dcdf77',
    500: '#c7d233',
    950: '#000000',
  },
}
SCSS
$custom: #c7d233;
$custom-light: #dcdf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d233",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 64.151,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82863,
    "c": 0.17107,
    "h": 113.6
  },
  "luminance": 0.58474
}

Semantic roles & 50–950 ramp

primary
#C7D233
secondary
#342F7A
accent
#41E74C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C7D233

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

Preview Lab → · Contrast checker → · Palette generator →

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