#C7B934#C7B934

#C7B934 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.147 H 103.1°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#C7B934
RGBrgb(199, 185, 52)
HSLhsl(54, 59%, 49%)
HSVhsv(54, 74%, 78%)
CMYKcmyk(0%, 7%, 73.9%, 22%)
CIE-LABlab(74.25, -9.60, 64.91)
CIE-LCHlch(74.25, 65.62, 98.41°)
OKLaboklab(77.47% -0.0333 0.1429)
OKLCHoklch(77.47% 0.147 103.1)
XYZxyz(41.5238, 47.0897, 10.1501)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B934 #3442C7
analogous
#C77034 #C7B934 #8CC734
triadic
#C7B934 #34C7B9 #B934C7
tetradic
#C7B934 #34C770 #3442C7 #C7348C
square
#C7B934 #34C770 #3442C7 #C7348C
split-complementary
#C7B934 #348CC7 #7034C7
monochromatic
#665F1B #968C27 #C7B934 #D6CB62 #E3DB93

Accessibility & contrast

On white

2.02
#C7B934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#C7B934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B934
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B934#FFFFFF#000000##000000
##C7B9341.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31A
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#D6AC9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7b934;
/* rgb */ color: rgb(199, 185, 52);
/* oklch */ color: oklch(77.5% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#dccd75',
    500: '#c7b934',
    950: '#000000',
  },
}
SCSS
$custom: #c7b934;
$custom-light: #dccd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b934",
  "rgb": {
    "r": 199,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 54.286,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77471,
    "c": 0.14669,
    "h": 103.1
  },
  "luminance": 0.47088
}

Semantic roles & 50–950 ramp

primary
#C7B934
secondary
#8990CE
accent
#55E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B934

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

Preview Lab → · Contrast checker → · Palette generator →

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