#C7C32F#C7C32F

#C7C32F is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.6% C 0.158 H 107.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C7C32F
RGBrgb(199, 195, 47)
HSLhsl(58, 62%, 48%)
HSVhsv(58, 76%, 78%)
CMYKcmyk(0%, 2%, 76.4%, 22%)
CIE-LABlab(76.91, -14.90, 69.03)
CIE-LCHlch(76.91, 70.62, 102.18°)
OKLaboklab(79.58% -0.0487 0.1507)
OKLCHoklch(79.58% 0.158 107.9)
XYZxyz(43.5831, 51.3790, 10.3101)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C32F #2F33C7
analogous
#C7772F #C7C32F #7FC72F
triadic
#C7C32F #2FC7C3 #C32FC7
tetradic
#C7C32F #2FC777 #2F33C7 #C72F7F
square
#C7C32F #2FC777 #2F33C7 #C72F7F
split-complementary
#C7C32F #2F7FC7 #772FC7
monochromatic
#646218 #959223 #C7C32F #D8D55B #E4E28C

Accessibility & contrast

On white

1.86
#C7C32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#C7C32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C32F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C32F#FFFFFF#000000##000000
##C7C32F1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB05
Deuteranopia (green-blind)
#D6C03B
Tritanopia (blue-blind)
#D6B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c32f;
/* rgb */ color: rgb(199, 195, 47);
/* oklch */ color: oklch(79.6% 0.158 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcd474',
    500: '#c7c32f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c32f;
$custom-light: #dcd474;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c32f",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 47
  },
  "hsl": {
    "h": 58.421,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79582,
    "c": 0.15834,
    "h": 107.9
  },
  "luminance": 0.51378
}

Semantic roles & 50–950 ramp

primary
#C7C32F
secondary
#2C2E6E
accent
#47E543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C32F

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

Preview Lab → · Contrast checker → · Palette generator →

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