#C7B935#C7B935

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

Color values

HEX#C7B935
RGBrgb(199, 185, 53)
HSLhsl(54, 58%, 49%)
HSVhsv(54, 73%, 78%)
CMYKcmyk(0%, 7%, 73.4%, 22%)
CIE-LABlab(74.25, -9.56, 64.57)
CIE-LCHlch(74.25, 65.27, 98.42°)
OKLaboklab(77.48% -0.0331 0.1423)
OKLCHoklch(77.48% 0.146 103.1)
XYZxyz(41.5466, 47.0988, 10.2700)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B935 #3543C7
analogous
#C77035 #C7B935 #8CC735
triadic
#C7B935 #35C7B9 #B935C7
tetradic
#C7B935 #35C770 #3543C7 #C7358C
square
#C7B935 #35C770 #3543C7 #C7358C
split-complementary
#C7B935 #358CC7 #7035C7
monochromatic
#665F1B #978C28 #C7B935 #D6CB64 #E2DB94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B935#FFFFFF#000000##000000
##C7B9351.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)
#CAB31C
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#D6AC9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7b935;
/* rgb */ color: rgb(199, 185, 53);
/* oklch */ color: oklch(77.5% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#dccd76',
    500: '#c7b935',
    950: '#000000',
  },
}
SCSS
$custom: #c7b935;
$custom-light: #dccd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b935",
  "rgb": {
    "r": 199,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 54.247,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77478,
    "c": 0.14612,
    "h": 103.1
  },
  "luminance": 0.47097
}

Semantic roles & 50–950 ramp

primary
#C7B935
secondary
#8A91CE
accent
#55E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B935

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

Preview Lab → · Contrast checker → · Palette generator →

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