#C7C04B#C7C04B

#C7C04B is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.137 H 105.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C7C04B
RGBrgb(199, 192, 75)
HSLhsl(57, 53%, 54%)
HSVhsv(57, 62%, 78%)
CMYKcmyk(0%, 3.5%, 62.3%, 22%)
CIE-LABlab(76.28, -11.94, 57.99)
CIE-LCHlch(76.28, 59.21, 101.64°)
OKLaboklab(79.14% -0.0376 0.1321)
OKLCHoklch(79.14% 0.137 105.9)
XYZxyz(43.6743, 50.3509, 14.0733)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C04B #4B52C7
analogous
#C7824B #C7C04B #90C74B
triadic
#C7C04B #4BC7C0 #C04BC7
tetradic
#C7C04B #4BC782 #4B52C7 #C74B90
square
#C7C04B #4BC782 #4B52C7 #C74B90
split-complementary
#C7C04B #4B90C7 #824BC7
monochromatic
#746F24 #A29C32 #C7C04B #D6D07A #E4E1A8

Accessibility & contrast

On white

1.90
#C7C04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#C7C04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C04B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C04B#FFFFFF#000000##000000
##C7C04B1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B93D
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#D5B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c04b;
/* rgb */ color: rgb(199, 192, 75);
/* oklch */ color: oklch(79.1% 0.137 105.9);
Tailwind
colors: {
  custom: {
    50: '#dbd282',
    500: '#c7c04b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c04b;
$custom-light: #dbd282;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c04b",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 56.613,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79144,
    "c": 0.1373,
    "h": 105.9
  },
  "luminance": 0.50349
}

Semantic roles & 50–950 ramp

primary
#C7C04B
secondary
#3A3D7D
accent
#54DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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