#CFB34B#CFB34B

#CFB34B is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.126 H 94.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CFB34B
RGBrgb(207, 179, 75)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 64%, 81%)
CMYKcmyk(0%, 13.5%, 63.8%, 18.8%)
CIE-LABlab(73.56, -1.81, 55.26)
CIE-LCHlch(73.56, 55.29, 91.88°)
OKLaboklab(77.15% -0.0091 0.1261)
OKLCHoklch(77.15% 0.126 94.1)
XYZxyz(43.1242, 46.0158, 13.2657)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB34B #4B67CF
analogous
#CF714B #CFB34B #A9CF4B
triadic
#CFB34B #4BCFB3 #B34BCF
tetradic
#CFB34B #4BCF71 #4B67CF #CF4BA9
square
#CFB34B #4BCF71 #4B67CF #CF4BA9
split-complementary
#CFB34B #4BA9CF #714BCF
monochromatic
#7E6A22 #AE932E #CFB34B #DCC77B #E9DCAC

Accessibility & contrast

On white

2.06
#CFB34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CFB34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB34B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB34B#FFFFFF#000000##000000
##CFB34B1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B03F
Deuteranopia (green-blind)
#CCB850
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb34b;
/* rgb */ color: rgb(207, 179, 75);
/* oklch */ color: oklch(77.1% 0.126 94.1);
Tailwind
colors: {
  custom: {
    50: '#e1c982',
    500: '#cfb34b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb34b;
$custom-light: #e1c982;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb34b",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 47.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77148,
    "c": 0.12638,
    "h": 94.1
  },
  "luminance": 0.46014
}

Semantic roles & 50–950 ramp

primary
#CFB34B
secondary
#9FABD6
accent
#67E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB34B

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

Preview Lab → · Contrast checker → · Palette generator →

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