#C7B53B#C7B53B

#C7B53B is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.7% C 0.139 H 100.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#C7B53B
RGBrgb(199, 181, 59)
HSLhsl(52, 56%, 51%)
HSVhsv(52, 70%, 78%)
CMYKcmyk(0%, 9%, 70.4%, 22%)
CIE-LABlab(73.22, -7.20, 61.35)
CIE-LCHlch(73.22, 61.77, 96.70°)
OKLaboklab(76.67% -0.0259 0.1366)
OKLCHoklch(76.67% 0.139 100.7)
XYZxyz(40.8683, 45.5075, 10.7680)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B53B #3B4DC7
analogous
#C76F3B #C7B53B #93C73B
triadic
#C7B53B #3BC7B5 #B53BC7
tetradic
#C7B53B #3BC76F #3B4DC7 #C73B93
square
#C7B53B #3BC76F #3B4DC7 #C73B93
split-complementary
#C7B53B #3B93C7 #6F3BC7
monochromatic
#69601E #998B2C #C7B53B #D5C76B #E2D99A

Accessibility & contrast

On white

2.08
#C7B53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#C7B53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B53B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B53B#FFFFFF#000000##000000
##C7B53B1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#D6A89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b53b;
/* rgb */ color: rgb(199, 181, 59);
/* oklch */ color: oklch(76.7% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#dcca78',
    500: '#c7b53b',
    950: '#000000',
  },
}
SCSS
$custom: #c7b53b;
$custom-light: #dcca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b53b",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 52.286,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76673,
    "c": 0.13901,
    "h": 100.7
  },
  "luminance": 0.45506
}

Semantic roles & 50–950 ramp

primary
#C7B53B
secondary
#9098CE
accent
#5CDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B53B

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

Preview Lab → · Contrast checker → · Palette generator →

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