#C7D23F#C7D23F

#C7D23F is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 82.9% C 0.164 H 113.7°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#C7D23F
RGBrgb(199, 210, 63)
HSLhsl(64, 62%, 54%)
HSVhsv(64, 70%, 82%)
CMYKcmyk(5.2%, 0%, 70%, 17.6%)
CIE-LABlab(81.07, -21.62, 67.61)
CIE-LCHlch(81.07, 70.98, 107.73°)
OKLaboklab(82.94% -0.066 0.1505)
OKLCHoklch(82.94% 0.164 113.7)
XYZxyz(47.4984, 58.5951, 13.5095)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D23F #4A3FD2
analogous
#D2933F #C7D23F #7DD23F
triadic
#C7D23F #3FC7D2 #D23FC7
tetradic
#C7D23F #3FD293 #4A3FD2 #D23F7D
square
#C7D23F #3FD293 #4A3FD2 #D23F7D
split-complementary
#C7D23F #3F7DD2 #933FD2
monochromatic
#737A1D #A2AC28 #C7D23F #D5DE71 #E4E9A2

Accessibility & contrast

On white

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

On black

12.72
#C7D23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D23F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D23F#FFFFFF#000000##000000
##C7D23F1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C826
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d23f;
/* rgb */ color: rgb(199, 210, 63);
/* oklch */ color: oklch(82.9% 0.164 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbdf7d',
    500: '#c7d23f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d23f;
$custom-light: #dbdf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d23f",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 64.49,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82937,
    "c": 0.1643,
    "h": 113.7
  },
  "luminance": 0.58594
}

Semantic roles & 50–950 ramp

primary
#C7D23F
secondary
#393382
accent
#43E54F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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