#C7C23D#C7C23D

#C7C23D is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.5% C 0.149 H 107.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C7C23D
RGBrgb(199, 194, 61)
HSLhsl(58, 55%, 51%)
HSVhsv(58, 69%, 78%)
CMYKcmyk(0%, 2.5%, 69.3%, 22%)
CIE-LABlab(76.72, -13.77, 64.05)
CIE-LCHlch(76.72, 65.52, 102.13°)
OKLaboklab(79.46% -0.0442 0.1426)
OKLCHoklch(79.46% 0.149 107.2)
XYZxyz(43.6889, 51.0641, 11.9690)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C23D #3D42C7
analogous
#C77D3D #C7C23D #87C73D
triadic
#C7C23D #3DC7C2 #C23DC7
tetradic
#C7C23D #3DC77D #3D42C7 #C73D87
square
#C7C23D #3DC77D #3D42C7 #C73D87
split-complementary
#C7C23D #3D87C7 #7D3DC7
monochromatic
#6B681F #9A962D #C7C23D #D5D16C #E2E09C

Accessibility & contrast

On white

1.87
#C7C23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#C7C23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C23D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C23D#FFFFFF#000000##000000
##C7C23D1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB28
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#D5B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c23d;
/* rgb */ color: rgb(199, 194, 61);
/* oklch */ color: oklch(79.5% 0.149 107.2);
Tailwind
colors: {
  custom: {
    50: '#dbd47b',
    500: '#c7c23d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c23d;
$custom-light: #dbd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c23d",
  "rgb": {
    "r": 199,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 57.826,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79456,
    "c": 0.14933,
    "h": 107.2
  },
  "luminance": 0.51063
}

Semantic roles & 50–950 ramp

primary
#C7C23D
secondary
#343675
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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