#C6C23D#C6C23D

#C6C23D is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.149 H 107.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C6C23D
RGBrgb(198, 194, 61)
HSLhsl(58, 55%, 51%)
HSVhsv(58, 69%, 78%)
CMYKcmyk(0%, 2%, 69.2%, 22.4%)
CIE-LABlab(76.64, -14.19, 63.94)
CIE-LCHlch(76.64, 65.50, 102.52°)
OKLaboklab(79.37% -0.0453 0.1424)
OKLCHoklch(79.37% 0.149 107.7)
XYZxyz(43.4244, 50.9277, 11.9566)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C23D #3D41C6
analogous
#C67D3D #C6C23D #85C63D
triadic
#C6C23D #3DC6C2 #C23DC6
tetradic
#C6C23D #3DC67D #3D41C6 #C63D85
square
#C6C23D #3DC67D #3D41C6 #C63D85
split-complementary
#C6C23D #3D85C6 #7D3DC6
monochromatic
#6A671F #99962D #C6C23D #D4D16C #E2E09C

Accessibility & contrast

On white

1.88
#C6C23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C6C23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C23D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C23D#FFFFFF#000000##000000
##C6C23D1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA28
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#D4B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c23d;
/* rgb */ color: rgb(198, 194, 61);
/* oklch */ color: oklch(79.4% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#dbd47b',
    500: '#c6c23d',
    950: '#000000',
  },
}
SCSS
$custom: #c6c23d;
$custom-light: #dbd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c23d",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 58.248,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7937,
    "c": 0.14948,
    "h": 107.7
  },
  "luminance": 0.50926
}

Semantic roles & 50–950 ramp

primary
#C6C23D
secondary
#343674
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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