#C7C93B#C7C93B

#C7C93B is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.157 H 110.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#C7C93B
RGBrgb(199, 201, 59)
HSLhsl(61, 57%, 51%)
HSVhsv(61, 71%, 79%)
CMYKcmyk(1%, 0%, 70.6%, 21.2%)
CIE-LABlab(78.60, -17.38, 66.62)
CIE-LCHlch(78.60, 68.85, 104.62°)
OKLaboklab(80.95% -0.0545 0.1477)
OKLCHoklch(80.95% 0.157 110.3)
XYZxyz(45.2308, 54.2324, 12.2221)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C93B #3D3BC9
analogous
#C9843B #C7C93B #80C93B
triadic
#C7C93B #3BC7C9 #C93BC7
tetradic
#C7C93B #3BC984 #3D3BC9 #C93B80
square
#C7C93B #3BC984 #3D3BC9 #C93B80
split-complementary
#C7C93B #3B80C9 #843BC9
monochromatic
#6B6C1E #9A9C2B #C7C93B #D5D66B #E2E39B

Accessibility & contrast

On white

1.77
#C7C93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#C7C93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C93B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C93B#FFFFFF#000000##000000
##C7C93B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C022
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#D5BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c93b;
/* rgb */ color: rgb(199, 201, 59);
/* oklch */ color: oklch(81.0% 0.157 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd97a',
    500: '#c7c93b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c93b;
$custom-light: #dcd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c93b",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 60.845,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80952,
    "c": 0.15746,
    "h": 110.3
  },
  "luminance": 0.54231
}

Semantic roles & 50–950 ramp

primary
#C7C93B
secondary
#343376
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C93B

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

Preview Lab → · Contrast checker → · Palette generator →

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