#C7BA34#C7BA34

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

Color values

HEX#C7BA34
RGBrgb(199, 186, 52)
HSLhsl(55, 59%, 49%)
HSVhsv(55, 74%, 78%)
CMYKcmyk(0%, 6.5%, 73.9%, 22%)
CIE-LABlab(74.51, -10.12, 65.17)
CIE-LCHlch(74.51, 65.95, 98.82°)
OKLaboklab(77.68% -0.0348 0.1434)
OKLCHoklch(77.68% 0.148 103.6)
XYZxyz(41.7338, 47.5096, 10.2201)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BA34 #3441C7
analogous
#C77134 #C7BA34 #8BC734
triadic
#C7BA34 #34C7BA #BA34C7
tetradic
#C7BA34 #34C771 #3441C7 #C7348B
square
#C7BA34 #34C771 #3441C7 #C7348B
split-complementary
#C7BA34 #348BC7 #7134C7
monochromatic
#665F1B #968D27 #C7BA34 #D6CC62 #E3DC93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BA34#FFFFFF#000000##000000
##C7BA341.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)
#CBB41A
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#D6ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7ba34;
/* rgb */ color: rgb(199, 186, 52);
/* oklch */ color: oklch(77.7% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#dcce75',
    500: '#c7ba34',
    950: '#000000',
  },
}
SCSS
$custom: #c7ba34;
$custom-light: #dcce75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ba34",
  "rgb": {
    "r": 199,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 54.694,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77684,
    "c": 0.14755,
    "h": 103.6
  },
  "luminance": 0.47508
}

Semantic roles & 50–950 ramp

primary
#C7BA34
secondary
#898FCE
accent
#54E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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