#C7A93B#C7A93B

#C7A93B is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.2% C 0.130 H 93.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C7A93B
RGBrgb(199, 169, 59)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 70%, 78%)
CMYKcmyk(0%, 15.1%, 70.4%, 22%)
CIE-LABlab(70.06, -0.90, 58.18)
CIE-LCHlch(70.06, 58.18, 90.88°)
OKLaboklab(74.17% -0.0079 0.1299)
OKLCHoklch(74.17% 0.13 93.5)
XYZxyz(38.5326, 40.8360, 9.9894)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A93B #3B59C7
analogous
#C7633B #C7A93B #9FC73B
triadic
#C7A93B #3BC7A9 #A93BC7
tetradic
#C7A93B #3BC763 #3B59C7 #C73B9F
square
#C7A93B #3BC763 #3B59C7 #C73B9F
split-complementary
#C7A93B #3B9FC7 #633BC7
monochromatic
#69591E #99822C #C7A93B #D5BE6B #E2D39A

Accessibility & contrast

On white

2.29
#C7A93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C7A93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A93B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A93B#FFFFFF#000000##000000
##C7A93B1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62C
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D79C93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c7a93b;
/* rgb */ color: rgb(199, 169, 59);
/* oklch */ color: oklch(74.2% 0.130 93.5);
Tailwind
colors: {
  custom: {
    50: '#dcc277',
    500: '#c7a93b',
    950: '#000000',
  },
}
SCSS
$custom: #c7a93b;
$custom-light: #dcc277;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a93b",
  "rgb": {
    "r": 199,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 47.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74167,
    "c": 0.13012,
    "h": 93.5
  },
  "luminance": 0.40834
}

Semantic roles & 50–950 ramp

primary
#C7A93B
secondary
#909DCE
accent
#69DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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