#C7CA38#C7CA38

#C7CA38 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.1% C 0.160 H 110.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#C7CA38
RGBrgb(199, 202, 56)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 72%, 79%)
CMYKcmyk(1.5%, 0%, 72.3%, 20.8%)
CIE-LABlab(78.85, -18.02, 67.91)
CIE-LCHlch(78.85, 70.26, 104.86°)
OKLaboklab(81.15% -0.0566 0.1499)
OKLCHoklch(81.15% 0.16 110.7)
XYZxyz(45.3891, 54.6699, 11.9020)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA38 #3B38CA
analogous
#CA8438 #C7CA38 #7ECA38
triadic
#C7CA38 #38C7CA #CA38C7
tetradic
#C7CA38 #38CA84 #3B38CA #CA387E
square
#C7CA38 #38CA84 #3B38CA #CA387E
split-complementary
#C7CA38 #387ECA #8438CA
monochromatic
#696B1D #999B29 #C7CA38 #D5D768 #E2E499

Accessibility & contrast

On white

1.76
#C7CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#C7CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA38
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA38#FFFFFF#000000##000000
##C7CA381.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#DBC543
Tritanopia (blue-blind)
#D5BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca38;
/* rgb */ color: rgb(199, 202, 56);
/* oklch */ color: oklch(81.1% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd979',
    500: '#c7ca38',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca38;
$custom-light: #dcd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca38",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 61.233,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81149,
    "c": 0.16024,
    "h": 110.7
  },
  "luminance": 0.54669
}

Semantic roles & 50–950 ramp

primary
#C7CA38
secondary
#333175
accent
#47E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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