#C7BA35#C7BA35

#C7BA35 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.7% C 0.147 H 103.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#C7BA35
RGBrgb(199, 186, 53)
HSLhsl(55, 58%, 49%)
HSVhsv(55, 73%, 78%)
CMYKcmyk(0%, 6.5%, 73.4%, 22%)
CIE-LABlab(74.52, -10.07, 64.82)
CIE-LCHlch(74.52, 65.60, 98.83°)
OKLaboklab(77.69% -0.0346 0.1429)
OKLCHoklch(77.69% 0.147 103.6)
XYZxyz(41.7565, 47.5187, 10.3400)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BA35 #3542C7
analogous
#C77135 #C7BA35 #8BC735
triadic
#C7BA35 #35C7BA #BA35C7
tetradic
#C7BA35 #35C771 #3542C7 #C7358B
square
#C7BA35 #35C771 #3542C7 #C7358B
split-complementary
#C7BA35 #358BC7 #7135C7
monochromatic
#66601B #978D28 #C7BA35 #D6CB64 #E2DB94

Accessibility & contrast

On white

2.00
#C7BA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#C7BA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BA35
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BA35#FFFFFF#000000##000000
##C7BA351.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41C
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#D6ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7ba35;
/* rgb */ color: rgb(199, 186, 53);
/* oklch */ color: oklch(77.7% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#dcce76',
    500: '#c7ba35',
    950: '#000000',
  },
}
SCSS
$custom: #c7ba35;
$custom-light: #dcce76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ba35",
  "rgb": {
    "r": 199,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 54.658,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7769,
    "c": 0.14698,
    "h": 103.6
  },
  "luminance": 0.47517
}

Semantic roles & 50–950 ramp

primary
#C7BA35
secondary
#8A90CE
accent
#54E147
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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