#C6C239#C6C239

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

Color values

HEX#C6C239
RGBrgb(198, 194, 57)
HSLhsl(58, 55%, 50%)
HSVhsv(58, 71%, 78%)
CMYKcmyk(0%, 2%, 71.2%, 22.4%)
CIE-LABlab(76.61, -14.39, 65.38)
CIE-LCHlch(76.61, 66.95, 102.41°)
OKLaboklab(79.34% -0.0463 0.1448)
OKLCHoklch(79.34% 0.152 107.7)
XYZxyz(43.3206, 50.8862, 11.4102)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C239 #393DC6
analogous
#C67C39 #C6C239 #83C639
triadic
#C6C239 #39C6C2 #C239C6
tetradic
#C6C239 #39C67C #393DC6 #C63983
square
#C6C239 #39C67C #393DC6 #C63983
split-complementary
#C6C239 #3983C6 #7C39C6
monochromatic
#67651E #96932B #C6C239 #D4D169 #E1DF98

Accessibility & contrast

On white

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

On black

11.18
#C6C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C239
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C239#FFFFFF#000000##000000
##C6C2391.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA21
Deuteranopia (green-blind)
#D5BF43
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c239;
/* rgb */ color: rgb(198, 194, 57);
/* oklch */ color: oklch(79.3% 0.152 107.7);
Tailwind
colors: {
  custom: {
    50: '#dbd479',
    500: '#c6c239',
    950: '#000000',
  },
}
SCSS
$custom: #c6c239;
$custom-light: #dbd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c239",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 58.298,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.79342,
    "c": 0.152,
    "h": 107.7
  },
  "luminance": 0.50885
}

Semantic roles & 50–950 ramp

primary
#C6C239
secondary
#323471
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C239

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

Preview Lab → · Contrast checker → · Palette generator →

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