#CFB73A#CFB73A

#CFB73A is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.141 H 98.0°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CFB73A
RGBrgb(207, 183, 58)
HSLhsl(50, 61%, 52%)
HSVhsv(50, 72%, 81%)
CMYKcmyk(0%, 11.6%, 72%, 18.8%)
CIE-LABlab(74.47, -4.84, 63.20)
CIE-LCHlch(74.47, 63.39, 94.38°)
OKLaboklab(77.83% -0.0197 0.14)
OKLCHoklch(77.83% 0.141 98)
XYZxyz(43.4315, 47.4400, 10.8713)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB73A #3A52CF
analogous
#CF6D3A #CFB73A #9CCF3A
triadic
#CFB73A #3ACFB7 #B73ACF
tetradic
#CFB73A #3ACF6D #3A52CF #CF3A9C
square
#CFB73A #3ACF6D #3A52CF #CF3A9C
split-complementary
#CFB73A #3A9CCF #6D3ACF
monochromatic
#73651C #A49028 #CFB73A #DBC96B #E7DB9C

Accessibility & contrast

On white

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

On black

10.49
#CFB73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB73A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB73A#FFFFFF#000000##000000
##CFB73A1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B226
Deuteranopia (green-blind)
#CFBB42
Tritanopia (blue-blind)
#DFA99E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb73a;
/* rgb */ color: rgb(207, 183, 58);
/* oklch */ color: oklch(77.8% 0.141 98.0);
Tailwind
colors: {
  custom: {
    50: '#e2cc78',
    500: '#cfb73a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb73a;
$custom-light: #e2cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb73a",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 50.336,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7783,
    "c": 0.14141,
    "h": 98
  },
  "luminance": 0.47438
}

Semantic roles & 50–950 ramp

primary
#CFB73A
secondary
#929CD3
accent
#5EE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB73A

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

Preview Lab → · Contrast checker → · Palette generator →

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