#C7C35E#C7C35E

#C7C35E is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.124 H 106.8°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#C7C35E
RGBrgb(199, 195, 94)
HSLhsl(58, 48%, 57%)
HSVhsv(58, 53%, 78%)
CMYKcmyk(0%, 2%, 52.8%, 22%)
CIE-LABlab(77.27, -12.07, 50.55)
CIE-LCHlch(77.27, 51.97, 103.43°)
OKLaboklab(79.99% -0.0358 0.1185)
OKLCHoklch(79.99% 0.124 106.8)
XYZxyz(45.0899, 51.9818, 18.2458)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C35E #5E62C7
analogous
#C78E5E #C7C35E #97C75E
triadic
#C7C35E #5EC7C3 #C35EC7
tetradic
#C7C35E #5EC78E #5E62C7 #C75E97
square
#C7C35E #5EC78E #5E62C7 #C75E97
split-complementary
#C7C35E #5E97C7 #8E5EC7
monochromatic
#7F7B2C #ACA83C #C7C35E #D7D48B #E7E5B9

Accessibility & contrast

On white

1.84
#C7C35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#C7C35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C35E
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C35E#FFFFFF#000000##000000
##C7C35E1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC54
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#D4B8AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c35e;
/* rgb */ color: rgb(199, 195, 94);
/* oklch */ color: oklch(80.0% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#dad58e',
    500: '#c7c35e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c35e;
$custom-light: #dad58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c35e",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 57.714,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79987,
    "c": 0.12379,
    "h": 106.8
  },
  "luminance": 0.5198
}

Semantic roles & 50–950 ramp

primary
#C7C35E
secondary
#434587
accent
#55D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C35E

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

Preview Lab → · Contrast checker → · Palette generator →

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