#C7C139#C7C139

#C7C139 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.151 H 106.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C7C139
RGBrgb(199, 193, 57)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3%, 71.4%, 22%)
CIE-LABlab(76.42, -13.46, 65.23)
CIE-LCHlch(76.42, 66.60, 101.66°)
OKLaboklab(79.21% -0.0437 0.1444)
OKLCHoklch(79.21% 0.151 106.8)
XYZxyz(43.3634, 50.5790, 11.3486)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C139 #393FC7
analogous
#C77A39 #C7C139 #86C739
triadic
#C7C139 #39C7C1 #C139C7
tetradic
#C7C139 #39C77A #393FC7 #C73986
square
#C7C139 #39C77A #393FC7 #C73986
split-complementary
#C7C139 #3986C7 #7A39C7
monochromatic
#68651D #98932B #C7C139 #D4D069 #E2DF98

Accessibility & contrast

On white

1.89
#C7C139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#C7C139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C139
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C139#FFFFFF#000000##000000
##C7C1391.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA21
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D5B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c139;
/* rgb */ color: rgb(199, 193, 57);
/* oklch */ color: oklch(79.2% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd379',
    500: '#c7c139',
    950: '#000000',
  },
}
SCSS
$custom: #c7c139;
$custom-light: #dcd379;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c139",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 57.465,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79213,
    "c": 0.1509,
    "h": 106.8
  },
  "luminance": 0.50577
}

Semantic roles & 50–950 ramp

primary
#C7C139
secondary
#323572
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C139

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

Preview Lab → · Contrast checker → · Palette generator →

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