#C6C238#C6C238

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

Color values

HEX#C6C238
RGBrgb(198, 194, 56)
HSLhsl(58, 56%, 50%)
HSVhsv(58, 72%, 78%)
CMYKcmyk(0%, 2%, 71.7%, 22.4%)
CIE-LABlab(76.60, -14.44, 65.73)
CIE-LCHlch(76.60, 67.30, 102.39°)
OKLaboklab(79.33% -0.0465 0.1454)
OKLCHoklch(79.33% 0.153 107.7)
XYZxyz(43.2959, 50.8763, 11.2801)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C238 #383CC6
analogous
#C67B38 #C6C238 #83C638
triadic
#C6C238 #38C6C2 #C238C6
tetradic
#C6C238 #38C67B #383CC6 #C63883
square
#C6C238 #38C67B #383CC6 #C63883
split-complementary
#C6C238 #3883C6 #7B38C6
monochromatic
#67651D #96932B #C6C238 #D4D167 #E2DF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C238#FFFFFF#000000##000000
##C6C2381.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)
#D2BA1F
Deuteranopia (green-blind)
#D5BF42
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c238;
/* rgb */ color: rgb(198, 194, 56);
/* oklch */ color: oklch(79.3% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#dbd478',
    500: '#c6c238',
    950: '#000000',
  },
}
SCSS
$custom: #c6c238;
$custom-light: #dbd478;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c238",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 58.31,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79335,
    "c": 0.15261,
    "h": 107.7
  },
  "luminance": 0.50875
}

Semantic roles & 50–950 ramp

primary
#C6C238
secondary
#313371
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C238

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

Preview Lab → · Contrast checker → · Palette generator →

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